summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_uid16.c
Commit message (Collapse)AuthorAgeFilesLines
* Reject negative ngrp arguments in linux_setgroups() and linux_setgroups16();tjr2003-10-211-1/+1
| | | | | stops users being able to cause setgroups to clobber the kernel stack by copying in data past the end of the linux_gidset array.
* Use __FBSDID().obrien2003-06-101-2/+3
|
* More caddr_t removal, in conjunction with copy{in,out}(9) this time.des2003-03-031-4/+2
| | | | Also clean up some egregious casts and incorrect use of sizeof.
* Include <sys/malloc.h> instead of depending on namespace pollution 2bde2002-09-051-3/+3
| | | | | | layers deep in <sys/proc.h> or <sys/vnode.h>. Removed unused includes. Sorted includes.
* Use the new kern_* functions to avoid the need to store argumentsiedowse2002-09-011-22/+18
| | | | | | | | in the stack gap. This converts most VFS and signal related system calls, as well as select(). Discussed on: -arch Approved by: marcel
* Rework logic of syscalls that modify process credentials as described injhb2002-04-131-12/+20
| | | | rev 1.152 of sys/kern/kern_prot.c.
* Change the suser() API to take advantage of td_ucred as well as do ajhb2002-04-011-1/+1
| | | | | | | | | | | | 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@
* Simple p_ucred -> td_ucred changes to start using the per-thread ucredjhb2002-02-271-3/+3
| | | | reference.
* When casting from uid16/gid16 to uid/gid respectively, make suremarcel2001-10-141-14/+16
| | | | | | | that "no change" (ie 0xFFFF) is properly cast to (int)-1 for those syscalls that set uids and/or gids. Verified by: LTP
* KSE Milestone 2julian2001-09-121-35/+37
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Speculatively add this file. It's part of the Linuxulator updatemarcel2001-09-011-0/+285
to make it emulate Linux kernel version 2.4.2, which is required in order to upgrade the linux_base port to RH 7.1. Note that this file is only needed for 32-bit architectures. To us this means i386 (for now?)
OpenPOWER on IntegriCloud