Re: [PATCH v7 1/7] VFS: Introduce new O_DENY* open flags

From: One Thousand Gnomes
Date: Mon Jan 20 2014 - 08:34:42 EST

> > (and why not just use EPERM, it has the meaning you want already)
> We need to determine if we have a share reservation error to map it
> accurately in file servers and wine.


> > Shouldn't this also check for CAP_SYS_DAC or some similar permission so
> > that root can override such a mess (eg to fix full disks in an
> > emergency) ?
> May be it's better to let root an ability to remount the system
> without sharelock mount option and then fix an emergency?

Doesn't that involve breaking the service for all users of the system
relying upon those locks, while root being allowed to ignore the locks
does not ?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at