[lkml]   [1999]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Why is chmod(2)?
Two things:

1) O_NONE, etc. Why not? It's symmetrical, useful, even elegant.

2) Eliminating chmod() & friends. Why? All you'll be doing is insuring
that programs that are secure on, say, FreeBSD or Solaris, have
dangerous security issues on Linux (open/f*/close introduces
potential races as well as eliminating others), and vice-versa.

Not a good idea.


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

 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean