#
677b542e |
| 11-Jun-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID().
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0 |
|
#
48e3128b |
| 13-Jan-2003 |
Matthew Dillon <dillon@FreeBSD.org> |
Bow to the whining masses and change a union back into void *. Retain removal of unnecessary casts and throw in some minor cleanups to see if anyone complains, just for the hell of it.
|
#
cd72f218 |
| 12-Jan-2003 |
Matthew Dillon <dillon@FreeBSD.org> |
Change struct file f_data to un_data, a union of the correct struct pointer types, and remove a huge number of casts from code using it.
Change struct xfile xf_data to xun_data (ABI is still compati
Change struct file f_data to un_data, a union of the correct struct pointer types, and remove a huge number of casts from code using it.
Change struct xfile xf_data to xun_data (ABI is still compatible).
If we need to add a #define for f_data and xf_data we can, but I don't think it will be necessary. There are no operational changes in this commit.
show more ...
|
#
13438f68 |
| 01-Jan-2003 |
Alfred Perlstein <alfred@FreeBSD.org> |
When compiling the kernel do not implicitly include filedesc.h from proc.h, this was causing filedesc work to be very painful. In order to make this work split out sigio definitions to thier own head
When compiling the kernel do not implicitly include filedesc.h from proc.h, this was causing filedesc work to be very painful. In order to make this work split out sigio definitions to thier own header (sigio.h) which is included from proc.h for the time being.
show more ...
|
#
3c67c23b |
| 29-Dec-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Implement new ACL system calls which do not follow symbolic links: __acl_get_link(), __acl_set_link(), acl_delete_link(), and __acl_aclcheck_link(), with almost identical implementations to the exist
Implement new ACL system calls which do not follow symbolic links: __acl_get_link(), __acl_set_link(), acl_delete_link(), and __acl_aclcheck_link(), with almost identical implementations to the existing __acl_*_file() variants on these calls. Update copyright.
Obtained from: TrustedBSD Project
show more ...
|
#
f97182ac |
| 14-Dec-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
unwrap lines made short enough by SCARGS removal
|
#
d1e405c5 |
| 14-Dec-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
SCARGS removal take II.
|
#
bc9e75d7 |
| 13-Dec-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Backout removal SCARGS, the code freeze is only "selectively" over.
|
#
0bbe7292 |
| 13-Dec-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove SCARGS.
Reviewed by: md5
|
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
c86ca022 |
| 01-Aug-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Introduce support for Mandatory Access Control and extensible kernel access control.
Instrument the kernel ACL retrieval and modification system calls to invoke MAC framework entry points to authori
Introduce support for Mandatory Access Control and extensible kernel access control.
Instrument the kernel ACL retrieval and modification system calls to invoke MAC framework entry points to authorize these operations.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
show more ...
|
#
b02aac46 |
| 22-Jul-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Teach discretionary access control methods for files about VAPPEND and VALLPERM.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
|
Revision tags: release/4.6.1, release/4.6.0_cvs |
|
#
600c1a5a |
| 27-Jun-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Fix a bug that prevented the deletion of non-default ACLs from being passed down the VFS stack. While I'm here, replace a '0' with a 'NULL' to make the code more readable.
Sponsored by: DARPA, NAI
Fix a bug that prevented the deletion of non-default ACLs from being passed down the VFS stack. While I'm here, replace a '0' with a 'NULL' to make the code more readable.
Sponsored by: DARPA, NAI Labs Obtained from: TrustedBSD Project
show more ...
|
#
cbeb8402 |
| 27-Jun-2002 |
Robert Watson <rwatson@FreeBSD.org> |
A bit of whitespace magic.
|
#
4aaae52d |
| 14-Jun-2002 |
Robert Watson <rwatson@FreeBSD.org> |
opt_cap.c no longer needed
|
#
d394511d |
| 16-May-2002 |
Tom Rhodes <trhodes@FreeBSD.org> |
More s/file system/filesystem/g
|
#
44731cab |
| 01-Apr-2002 |
John Baldwin <jhb@FreeBSD.org> |
Change the suser() API to take advantage of td_ucred as well as do a general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes
Change the suser() API to take advantage of td_ucred as well as do a general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag.
Discussed on: smp@
show more ...
|
#
30171114 |
| 19-Mar-2002 |
Peter Wemm <peter@FreeBSD.org> |
Fix a gcc-3.1+ warning. warning: deprecated use of label at end of compound statement
ie: you cannot do this anymore: switch(foo) { ....
default: }
|
#
a854ed98 |
| 27-Feb-2002 |
John Baldwin <jhb@FreeBSD.org> |
Simple p_ucred -> td_ucred changes to start using the per-thread ucred reference.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
4e1123c7 |
| 04-Feb-2002 |
Robert Watson <rwatson@FreeBSD.org> |
o Scatter vn_start_write() and vn_finished_write() through ACL code so that it interacts properly with snapshotting.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
|
#
eccbb13c |
| 04-Feb-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Note that Kirk apparently missed adding vn_start_write() and friends to kern_acl.c when he added snapshotting. This will need to be added at some point.
|
#
426da3bc |
| 13-Jan-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
SMP Lock struct file, filedesc and the global file list.
Seigo Tanimura (tanimura) posted the initial delta.
I've polished it quite a bit reducing the need for locking and adapting it for KSE.
Loc
SMP Lock struct file, filedesc and the global file list.
Seigo Tanimura (tanimura) posted the initial delta.
I've polished it quite a bit reducing the need for locking and adapting it for KSE.
Locks:
1 mutex in each filedesc protects all the fields. protects "struct file" initialization, while a struct file is being changed from &badfileops -> &pipeops or something the filedesc should be locked.
1 mutex in each struct file protects the refcount fields. doesn't protect anything else. the flags used for garbage collection have been moved to f_gcflag which was the FILLER short, this doesn't need locking because the garbage collection is a single threaded container. could likely be made to use a pool mutex.
1 sx lock for the global filelist.
struct file * fhold(struct file *fp); /* increments reference count on a file */
struct file * fhold_locked(struct file *fp); /* like fhold but expects file to locked */
struct file * ffind_hold(struct thread *, int fd); /* finds the struct file in thread, adds one reference and returns it unlocked */
struct file * ffind_lock(struct thread *, int fd); /* ffind_hold, but returns file locked */
I still have to smp-safe the fget cruft, I'll get to that asap.
show more ...
|
#
a76789e7 |
| 02-Nov-2001 |
Robert Watson <rwatson@FreeBSD.org> |
o Since kern_acl.c uses #ifdef CAPABILITIES to control capability-specific semantics, #include "opt_cap.h".
Obtained from: TrustedBSD Project
|
#
6d878543 |
| 01-Nov-2001 |
Robert Watson <rwatson@FreeBSD.org> |
o Update copyright dates. o Add reference to TrustedBSD Project in license header. o Update dated comments, including comment in extattr.h claiming that no file systems support extended attributes.
o Update copyright dates. o Add reference to TrustedBSD Project in license header. o Update dated comments, including comment in extattr.h claiming that no file systems support extended attributes. o Improve comment consistency.
show more ...
|
#
48be932a |
| 27-Oct-2001 |
Robert Watson <rwatson@FreeBSD.org> |
o Update copyright dates.
Obtained from: TrustedBSD Project
|
#
fdba6d3a |
| 27-Oct-2001 |
Robert Watson <rwatson@FreeBSD.org> |
o Improve style(9) compliance following KSE modifications. In particular, strip the space from '( struct thread *...', wrap long lines. o Remove an unneeded comment on the topic of no lock being r
o Improve style(9) compliance following KSE modifications. In particular, strip the space from '( struct thread *...', wrap long lines. o Remove an unneeded comment on the topic of no lock being required as part of the NDINIT() in __acl_get_file(), as it's really not required there.
Obtained from: TrustedBSD Project
show more ...
|