freebsd-nq/sys/fs/devfs
Robert Watson 012c643d3e o Restructure vaccess() so as to check for DAC permission to modify the
object before falling back on privilege.  Make vaccess() accept an
  additional optional argument, privused, to determine whether
  privilege was required for vaccess() to return 0.  Add commented
  out capability checks for reference.  Rename some variables to make
  it more clear which modes/uids/etc are associated with the object,
  and which with the access mode.
o Update file system use of vaccess() to pass NULL as the optional
  privused argument.  Once additional patches are applied, suser()
  will no longer set ASU, so privused will permit passing of
  privilege information up the stack to the caller.

Reviewed by:	bde, green, phk, -security, others
Obtained from:	TrustedBSD Project
2000-08-29 14:45:49 +00:00
..
devfs_devs.c Reorder vop's alphabetically. 2000-08-27 14:46:36 +00:00
devfs_vfsops.c Reorder vop's alphabetically. 2000-08-27 14:46:36 +00:00
devfs_vnops.c o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
devfs.h Reorder vop's alphabetically. 2000-08-27 14:46:36 +00:00