lkml.org 
[lkml]   [1999]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Why is chmod(2)?
Date
From
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.

-Ed



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2011 Jasper Spaans