I've long wanted to have "flags" system calls, because I hate ioctl's with
a passion. However, nobody was bothered enough by it to actually implement
it..
> I think that the right way here is to add 6 (ouch) syscalls:
> {l,f,}chflags() for setting those attributes and {l,f,}new_stat() for
> reading them. The reason for latter 3 is simple - potential races.
No, just make it do
{l,f,}chflags({name,fd,name}, u32 *old, u32 *new);
and then you can read and write the flags with just one system call. I do
not want to extend on stat() yet again.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/