summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
AgeCommit message (Expand)Author
2015-10-14When pledged with "fattr", allow chown to supplimentary groups. ThisTheo de Raadt
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-10-06rmdir() is just a CPATH operation; remove RPATH marker that snuck in.Theo de Raadt
2015-08-31In tame mode, return EPERM for *chown if uid/gid change is not towardsTheo de Raadt
2015-08-31Rather than killing when *chmod is asked to do setuid/setgid, clearTheo de Raadt
2015-08-31KNFTheo de Raadt
2015-08-30For *chmod, allow S_ISTXT in tame mode. I am evaluating what toTheo de Raadt
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-07-20Move the construction of p_tamenote from sys_open() to doopenat(), so thatTheo de Raadt
2015-07-19tame(2) is a subsystem which restricts programs into a "reduced featureTheo de Raadt
2015-05-07Pass a thread pointer instead of its file descriptor table to getvnode(9).Martin Pieuchot
2015-04-30Indroduce fd_getfile_mode() and use it were fd_getfile() is directlyMartin Pieuchot
2015-04-17Tweaks utimensat/futimens handling to always update ctime, even when bothPhilip Guenther
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-12-08Add chflagsat(), modeled on fchmodat() with name to match FreeBSD.Philip Guenther
2014-11-14prefer sizeof(*ptr) to sizeof(struct) for malloc and freeTed Unangst
2014-11-03include sys/unistd.h where needed instead of indirect reliance. ok jsgTed Unangst
2014-11-03pass size argument to free()Theo de Raadt
2014-10-22Extend domknodat() to support S_IFIFO directly and remove domkfifoat().Todd C. Miller
2014-10-13POSIX says that mknod(2) should support fifos. OK guenther@Todd C. Miller
2014-09-18Correct argument name (int flags -> int amode) in sys_access().Masao Uebayashi
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-05-25In access(), use the real UID/GID for the path search too.Philip Guenther
2014-04-12revert falloc change, as it causes all new processes to get stuck after a whileMarc Espie
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-08split falloc into two functions, the allocation and the publication.Ted Unangst
2014-01-21bzero -> memsetTed Unangst
2014-01-20Fix commentPhilip Guenther
2013-12-01Change 'mountlist' from CIRCLEQ to TAILQ. Be paranoid andKenneth R Westerback
2013-10-25fix commentTodd C. Miller
2013-09-14Snapshots for all archs have been built, so remove the T32 codePhilip Guenther
2013-08-16Tweak the getdents() kernel prototype to use "void *"Philip Guenther
2013-08-14The last user of the old __tfork() was updated to the current one,Philip Guenther
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-08-08Drop the retval argument from do*at() functions which don't use it.Philip Guenther
2013-06-05Move FHASLOCK from f_flag to f_iflags, freeing up a bit for passingPhilip Guenther
2013-04-15Add an f_mntfromspec member to struct statfs, which specifies the name ofJoel Sing
2013-03-28When updating fd_cdir or fd_rdir, put the new pointer in placePhilip Guenther
2013-01-30In doreadlinkat(), only access auio.uio_resid if it's already beenMatthew Dempsky
2012-09-10Cleanup VFS mount string handling:Joel Sing
2012-09-10delete compat_o48_sys_getdirentries; ok guentherTheo de Raadt
2012-07-11Revert the blocked FIFO open fix, as there's either a race in thePhilip Guenthe
2012-07-10Don't release a FILE that wan't allocated. Found by benno@Philip Guenthe
2012-07-08Don't hold the fd-table lock across vn_open(), as opening a FIFO may block.Philip Guenthe
2012-05-21Cleanup O_CLOEXEC handling and make sure UF_EXCLOSE is set correctlyMatthew Dempsky
2012-05-14Remove the "vn_open() returning ENXIO means dup+close" hook thatPhilip Guenthe
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-03-19Add tracing and dumping of "pointer to struct" syscall arguments forPhilip Guenthe