diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-12 01:54:10 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-12 01:54:10 +0000 |
commit | af5794c63f2d2e790c171f0dac5479e8df629065 (patch) | |
tree | ed496cdfc26cca2102fdc22be0065b173bac1b46 /sys/netinet/tcp_output.c | |
parent | dfade9f9a8019534b69f152501f9583fa0ce2a79 (diff) | |
download | FreeBSD-src-af5794c63f2d2e790c171f0dac5479e8df629065.zip FreeBSD-src-af5794c63f2d2e790c171f0dac5479e8df629065.tar.gz |
Introduce IO_NOMACCHECK, a flag that will be passed to vn_rdwr() to
indicate that the calling code has already performed necessary MAC
checks (if any) for this operation. This flag will help resolve
layering problems that existing because vn_rdwr() is called both
on behalf of user processes directly (such as in system calls of
various sorts, during core dumps, etc), as well as deep in the file
system code on behalf of the file system (such as in UFS, ext2fs,
etc). Code that is acting on behalf of a kernel service rather
than explicitly on behalf of a user process will specify this flag.
By default, MAC checks will be performed (and generally should
be performed).
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/netinet/tcp_output.c')
0 files changed, 0 insertions, 0 deletions