Implement unix permissions
This commit is contained in:
parent
10c88e7424
commit
f38426e458
1 changed files with 99 additions and 76 deletions
|
|
@ -24,7 +24,7 @@ impl EventScheme {
|
|||
}
|
||||
|
||||
impl Scheme for EventScheme {
|
||||
fn open(&self, _path: &[u8], _flags: usize) -> Result<usize> {
|
||||
fn open(&self, _path: &[u8], _flags: usize, _uid: u32, _gid: u32) -> Result<usize> {
|
||||
let handle = {
|
||||
let contexts = context::contexts();
|
||||
let context_lock = contexts.current().ok_or(Error::new(ESRCH))?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue