Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-09-01 | match syscallargs comments with reality | Henning Brauer | |
from Patrick Latifi <patrick.l@hermes.usherb.ca> ok jason@ tedu@ | |||
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-01-30 | Bring back setreuid(2) and setregid(2) as first class syscalls | Todd C. Miller | |
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK | |||
2002-10-30 | Implement setresuid(2), getresuid(2), setresgid(2), getresgid(2), based | Todd C. Miller | |
partly on the Linux emul code and FreeBSD versions. We need these for Linux, FreeBSD, and HP-UX emulation. Also change sys_setreuid() and sys_setregid() to use uid_t and gid_t respectively. | |||
2002-10-15 | Match reality by changing (u_int) -> (int) in comments. | Thomas Nordin | |
2002-01-23 | Allocate rusage, pgrp, ucred and session with pool. | Artur Grabowski | |
2002-01-12 | Don't cast return value from splx to (void) because splx doesn't return ↵ | Artur Grabowski | |
anything. | |||
2001-06-22 | Try again. (this time it's tested). | Artur Grabowski | |
Add proc_cansugid that checks if a process may raise it's privileges. Rework exec to remove the old sugid workaround and check proc_cansugid just before raising privileges. | |||
2001-06-22 | KNF | Theo de Raadt | |
2001-06-19 | no way, you are on drugs. last commit revoked because it broke setuid majorly | Theo de Raadt | |
2001-06-18 | Add proc_cansugid used to check if a process should be allowed | Artur Grabowski | |
to raise its privileges in exec. | |||
2000-11-08 | Cleanup. | Artur Grabowski | |
Zap COMPAT_09. Don't duplicate creds unless necessary. | |||
2000-09-12 | o add missing getsid() prototype | Todd C. Miller | |
o fix typo in getsid() that broke getsid(pid) where pid != 0 o cause getsid() and getpgid() to return EPERM if requesting the id of a session/process group not in the current session o check for NULL session in getsid() for exiting processes | |||
1997-11-17 | indent | Theo de Raadt | |
1997-11-13 | add getsid(2), XPG4 | Theo de Raadt | |
1997-09-02 | COMPAT_BSDOS exec and compat changes. | Jason Downs | |
1997-05-30 | add getpgid(2) from NetBSD | kstailey | |
1997-03-29 | Do return values from issetuid() correctly | Thorsten Lockert | |
1996-10-27 | Allow set[gu]id() if the [gu]id we are trying to set is the saved [gu]id, | Thorsten Lockert | |
but only set effective [gu]id. | |||
1996-10-26 | Verify that pgid argument to setpgid() is legal | Thorsten Lockert | |
1996-10-02 | copyinstr correctly; spotted by bitblt | Theo de Raadt | |
1996-08-25 | issetugid() system call discovers if a process was started setuid or setgid | Theo de Raadt | |
1996-08-01 | Implemented _POSIX_SAVED_IDS behaviour according to 1003.1-1990, with | Thorsten Lockert | |
allowed extension from Appendix B, section 4.2.2. | |||
1996-03-03 | From NetBSD: 960217 merge | Niklas Hallqvist | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |