Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-10-19 | use queue.h provided macro when traversing the process list, no changes | Pedro Martelletto | |
in generated object file. from Joris Vink. | |||
2004-06-24 | This moves access to wall and uptime variables in MI code, | Thorsten Lockert | |
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@ | |||
2004-05-20 | remove more caddr_t | Ted Unangst | |
2004-05-20 | Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpc | Mark Kettenis | |
and m68k. ok drahn@, millert@ | |||
2004-05-05 | make sure uio_offset is a safe value, with suggestions from millert@ | Ted Unangst | |
ok deraadt@ millert@ problem noticed by deprotect.com | |||
2004-03-03 | repair status by not repeating fields. fixes pr2101 from jim razmus | Ted Unangst | |
2004-03-03 | save room for nul, so we can unmount later. pr2327 from peter werner | Ted Unangst | |
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK | |||
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-08-14 | constify vfsops; tedu@ ok | Michael Shalayeff | |
2003-08-11 | constify constant names | Michael Shalayeff | |
2003-08-05 | make procfs support statfs args. lossage noticed and patch tested by jolan | Ted Unangst | |
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-04-28 | call lockmgr a bit earlier to avoid a race. | Ted Unangst | |
2003-04-07 | sprintf elimination from rohee. | Ted Unangst | |
2003-03-09 | Disallow ptrace if P_SUGIDEXEC flag is set (we already disallow if P_SUGID | Todd C. Miller | |
is set). deraadt@ and tholo@ OK. | |||
2003-02-24 | use M_MISCFSMNT instead of M_UFSMNT for mount data | Ted Unangst | |
ok art@ | |||
2003-01-31 | Sigh. I comitted the wrong diff in the last vfs changes. | Artur Grabowski | |
These are the files that were ok:ed and tested. | |||
2003-01-31 | File system locking fixups, mostly from NetBSD: | Artur Grabowski | |
- cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok | |||
2002-04-06 | Do not hide Pfpregs from a switch() if PT_[GS]ETFPREGS are not defined, | Miod Vallat | |
so that this compiles with option DIAGNOSTIC; fixes PR #2528 ok fgsch@ | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-03-14 | Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in | Miod Vallat | |
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks. | |||
2002-03-11 | Since all archs implement PT_GETREGS and PT_SETREGS, make then unoptional. | Artur Grabowski | |
They still stay in MD code for backwards compatibility, but a check in ptrace.h checks if they are defined. Note - the same thing will be done with PT_{GET,SET}FPREGS once vax implements them and with PT_STEP when it's implemented by sparc, sparc64 and alpha. | |||
2002-01-30 | Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok | Thomas Nordin | |
2002-01-30 | Add proc0 to the PIDHASH table. art@ ok | Thomas Nordin | |
2002-01-20 | When a process is exec:ing mark it with a flag. Check that flag in ptrace | Artur Grabowski | |
and procfs (and possibly more places in the future) and simply refuse to fiddle with the execing process. This is an ugly hack, but this far we haven't been successful in creating a race-free exec. | |||
2001-12-04 | Readd VOP_MMAP, will be used soon. Right now it's just a question to | Artur Grabowski | |
the filesystem if we're allowed to mmap the file. | |||
2001-11-15 | uvm_vnp_setsize | Artur Grabowski | |
2001-11-15 | lockmgr instead of rolling our own. | Artur Grabowski | |
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-11-06 | redundant includes. | Artur Grabowski | |
2001-09-19 | No need to PHOLD/PRELE here, really. | Artur Grabowski | |
2001-09-11 | Don't include <vm/vm_kern.h> if you don't need foo_map. | Miod Vallat | |
2001-06-27 | Remove old vm. | Artur Grabowski | |
2001-06-23 | Get rid of several unused vnode operations | Constantine Sapuntzakis | |
2001-05-24 | Garbage collect procfs_findtextvp(). | Aaron Campbell | |
2001-05-24 | Initialize p to NULL in lookup. | Artur Grabowski | |
How this could have ever worked without this is beyond me. | |||
2001-05-16 | No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok) | Hakan Olsson | |
2001-04-13 | Make PROCFS compile again on non-UVM systems, deraadt@ ok | Miod Vallat | |
2001-04-09 | Add emulation of Linux features to procfs; mostly from NetBSD. ok deraadt@ | Thorsten Lockert | |
2001-02-20 | use void * consistently in vfs_mount and sys_mount. ok @art | assar | |
2000-12-18 | calculate length and allocate buffer for status. work by deraadt@ and me | Niels Provos | |
2000-08-15 | NUL not NULL; noted by Theo. | jasoni | |
2000-08-15 | make procfs compile on non-uvm systems | Eric Jackson | |
2000-08-12 | update sample directory listing. | jasoni | |
2000-08-12 | document cmdline. | jasoni | |
2000-08-12 | Add procfs/cmdline; to help with linux emulation. | jasoni | |
From NetBSD. | |||
2000-02-07 | update to use new checkexp vfs operation | assar | |
1999-08-13 | Better fix for fdesc/procfs panic. | Constantine Sapuntzakis | |
1999-08-13 | in *_readdir(), constrain uio_offset to make sure it is right; cstone@pobox.com | Theo de Raadt | |