#
dc2e740e |
| 30-Mar-2019 |
christos <christos@NetBSD.org> |
add a node for the process resource limits.
|
#
a69b333e |
| 28-Aug-2017 |
kamil <kamil@NetBSD.org> |
Remove the filesystem tracing feature
This is a legacy interface from 4.4BSD, and it was introduced to overcome shortcomings of ptrace(2) at that time, which are no longer relevant (performance). To
Remove the filesystem tracing feature
This is a legacy interface from 4.4BSD, and it was introduced to overcome shortcomings of ptrace(2) at that time, which are no longer relevant (performance). Today /proc/#/ctl offers a narrow subset of ptrace(2) commands and is not applicable for modern applications use beyond simplistic tracing scenarios.
This removal will simplify kernel internals. Users will still be able to use all the other /proc files.
This change won't affect other procfs files neither Linux compat features within mount_procfs(8). /proc/#/ctl isn't available on Linux.
Remove: - /proc/#/ctl from mount_procfs(8) - P_FSTRACE note from the documentation of ps(1) - /proc/#/ctl and filesystem tracing documentation from mount_procfs(8) - KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9) - source code file miscfs/procfs/procfs_ctl.c - PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h - KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h - PSL_FSTRACE (0x00010000) from sys/sys/proc.h - P_FSTRACE (0x00010000) from sys/sys/sysctl.h
Reduce code complexity after removal of this functionality.
Update TODO.ptrace accordingly: remove two entries about /proc tracing.
Do not keep legacy notes as comments in the headers about removed PSL_FSTRACE / P_FSTRACE, as this interface had little number of users (close or equal to zero).
Proposed on tech-kern@.
All filesystem tracing utility users are encouraged to switch to ptrace(2).
Sponsored by <The NetBSD Foundation>
show more ...
|
#
2d1443a6 |
| 30-Mar-2017 |
christos <christos@NetBSD.org> |
add an auxv node.
|
#
a60b9909 |
| 02-Nov-2016 |
pgoyette <pgoyette@NetBSD.org> |
* Split sys/kern/sys_process.c into three parts: 1 - ptrace(2) syscall for native emulation 2 - common ptrace(2) syscall code (shared with compat_netbsd32) 3 - support routine
* Split sys/kern/sys_process.c into three parts: 1 - ptrace(2) syscall for native emulation 2 - common ptrace(2) syscall code (shared with compat_netbsd32) 3 - support routines that are shared with PROCFS and/or KTRACE
* Add module glue for #1 and #2. Both modules will be built-in to the kernel if "options PTRACE" is included in the config file (this is the default, defined in sys/conf/std).
* Mark the ptrace(2) syscall as modular in syscalls.master (generated files will be committed shortly).
* Conditionalize all remaining portions of PTRACE code on a new kernel option PTRACE_HOOKS.
XXX Instead of PROCFS depending on 'options PTRACE', we should probably just add a procfs attribute to the sys/kern/sys_process.c file's entry in files.kern, and add PROCFS to the "#if defineds" for process_domem(). It's really confusing to have two different ways of requiring this file.
show more ...
|
#
fe9a32c8 |
| 11-Oct-2014 |
uebayasi <uebayasi@NetBSD.org> |
Define filesystem attributes with vfs dependency.
|
#
bd859bd3 |
| 30-Aug-2006 |
cube <cube@NetBSD.org> |
Restore dependency on PTRACE for PROCFS. Bump required config(1) version.
|
#
944592a2 |
| 30-Aug-2006 |
jnemeth <jnemeth@NetBSD.org> |
revert previous as it breaks the build due to invalid syntax
|
#
9e0ec481 |
| 29-Aug-2006 |
matt <matt@NetBSD.org> |
Make PTRACE and COREDUMP optional. Make the default (status quo) by putting them in conf/std.
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
477853c3 |
| 26-Feb-2005 |
perry <perry@NetBSD.org> |
nuke trailing whitespace
|
#
dbe6c38b |
| 03-Jan-2003 |
christos <christos@NetBSD.org> |
Implement /proc/<pid>/fd/<n>. This is work in progress. Questionable things: - Is it ok to convert DTYPE_PIPE to VFIFO and DTYPE_SOCKET to VSOCK? - XXX: Avoid locking issue in ls -Rl /proc by
Implement /proc/<pid>/fd/<n>. This is work in progress. Questionable things: - Is it ok to convert DTYPE_PIPE to VFIFO and DTYPE_SOCKET to VSOCK? - XXX: Avoid locking issue in ls -Rl /proc by avoiding curproc - Does I/O to pipes work? - XXX: Are there security implications?
show more ...
|
#
f1f51aa2 |
| 09-May-2002 |
thorpej <thorpej@NetBSD.org> |
Move code shared by procfs and the kernel proper out of procfs and into the kernel proper (renaming functions from procfs_* to process_*).
|
#
37dc008c |
| 16-Apr-2002 |
thorpej <thorpej@NetBSD.org> |
Cleanup how file system configuration information is declared, grouping related information together, with the file system code itself.
This is just low-hanging fruit -- more to come.
|