Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



kleink
Sat Feb 14 11:49:44 PST 1998
Update of /cvsroot/src/sys/kern
In directory netbsd1:/var/slash-tmp/cvs-serv17189

Modified Files:
        vfs_syscalls.c 
Log Message:
* Factor out some permission-checking code from ufs_setattr() into
  change_owner().
* Change the semantics of chown(), fchown() and lchown(): when requesting a
  change of the owner of a file, clear the set-user-id bit; analogous behaviour
  for group changes.
* Since the above is a violation of the semantics specified by POSIX and
  X/Open, add corresponding compatibility syscalls: __posix_chown(),
  __posix_fchown(), __posix_lchown().  (Neither fchown() nor lchown() is
  specified by POSIX; the prefix is intended to reflect the semantics.)
* Rename posix_rename() to __posix_rename() to follow the above convention.




Home | Main Index | Thread Index | Old Index