NetBSD/sys/kern
cgd d45416e707 when executing args in the ccode=0 case, send output to a tmp file and
(only if cmd exited successfully) use tmp file as input to sed pipeline.
This works around two issues:
(1) a pathological case where the script would fail in ... interesting
    ways if the command being executed closed its stdout.  (Certain
    commands are used only for their side effects, but not their output,
    and doing some testing on my own i got into hot water when one
    of my mods caused a command to close its output).
(2) the fact that genassym would succeed even when the command in
    fact failed (because the last cmd in the pipeline is the one whose
    exit status would be reported).
2001-03-06 02:20:18 +00:00
..
cnmagic.c only print the magic number changing if not cold 2000-12-19 04:39:19 +00:00
exec_aout.c Use round_page() instead of roundup(..., NBPG). 2000-11-14 22:13:20 +00:00
exec_conf.c Oops. Forgot to add this to execsw. Seems like SVR4 64 is not used much. 2001-03-03 01:46:04 +00:00
exec_ecoff.c restructure struct emul and execsw, in preparation to make emulations LKMable: 2000-11-21 00:37:49 +00:00
exec_elf32.c *NEVER* cast a reference parameter (unless you're using C++). 2001-02-04 19:12:09 +00:00
exec_elf64.c
exec_elf_common.c remove unneeded includes. 2000-11-08 05:47:56 +00:00
exec_script.c restructure struct emul and execsw, in preparation to make emulations LKMable: 2000-11-21 00:37:49 +00:00
exec_subr.c Initial integration of the Unified Buffer Cache project. 2000-11-27 08:39:39 +00:00
genassym.awk Allow pattern matching for symbol string to handle GCC's output for mips, 1998-11-25 06:10:19 +00:00
genassym.sh when executing args in the ccode=0 case, send output to a tmp file and 2001-03-06 02:20:18 +00:00
init_main.c Happy new year! 2001-01-01 20:18:34 +00:00
init_sysent.c Regen; getpid(2) is MP-safe. 2001-01-27 07:48:28 +00:00
kern_acct.c Don't reset file size limit to infinity on exit. Instead, temporarily 2000-05-08 19:06:36 +00:00
kern_allocsys.c Include "uvm/uvm_param.h" to get definition of "VM_MAX_KERNEL_BUF" as 2000-07-23 10:41:35 +00:00
kern_clock.c Explicitly include <machine/intr.h> if __HAVE_GENERIC_SOFT_INTERRUPTS. 2001-01-17 18:21:41 +00:00
kern_descrip.c convert to ANSI KNF 2001-02-26 20:24:30 +00:00
kern_exec.c convert to ANSI KNF 2001-02-26 20:43:25 +00:00
kern_exit.c Avoid spinning forever when hardclock() wants to grab the kernel lock 2001-03-05 20:38:21 +00:00
kern_fork.c minor KNF 2001-02-26 21:09:57 +00:00
kern_kthread.c ANSI'ify. 2000-07-14 07:14:33 +00:00
kern_ktrace.c utrace(2): limit size of user data to KTR_USER_MAXLEN (currently 2048); return EINVAL if 'len' is bigger 2001-01-05 22:25:26 +00:00
kern_lkm.c Call module "stat" entry where appropriate. 2001-02-24 10:16:46 +00:00
kern_lock.c Default lock_printf to syslog rather than printf. Some of the lock debug checks 2000-12-24 23:56:24 +00:00
kern_malloc.c constify 2001-01-18 20:28:15 +00:00
kern_ntptime.c Second phase of changes to remove ntp_adjtime(2) from the kernel entirely if 2000-08-07 18:10:20 +00:00
kern_physio.c Use correct type for todo variable. 2000-12-08 02:25:50 +00:00
kern_proc.c When freeing a session, remove the reference to it from the associated tty. 2001-02-04 22:32:24 +00:00
kern_prot.c Fix compile glitch. 2000-12-09 07:17:32 +00:00
kern_resource.c Move maxdmap and maxsmap where they belong and make them big enough. 2001-02-06 19:54:43 +00:00
kern_sig.c convert to ANSI KNF 2001-02-26 21:58:30 +00:00
kern_subr.c nuke extra token (;) after #endif 2001-01-12 22:55:10 +00:00
kern_synch.c Whenever ps_sigcheck is set to true, signotify() the process, and 2001-01-14 22:31:58 +00:00
kern_sysctl.c split off thread specific stuff from struct sigacts to struct sigctx, leaving 2000-12-22 22:58:52 +00:00
kern_time.c Extend NFS_V2_ONLY to remove NQNFS lease support as well. Saves another 10k. 2000-09-19 23:26:25 +00:00
kern_xxx.c restructure struct emul and execsw, in preparation to make emulations LKMable: 2000-11-21 00:37:49 +00:00
kgdb_stub.c Same change in the kgdb code as was done in ddb: 2000-07-18 21:49:08 +00:00
Make.tags.inc Protect the COMM variable with an '.ifmake tags' to stop the long delay 1999-02-12 19:52:30 +00:00
Makefile Use 2000-08-30 23:51:46 +00:00
makesyscalls.sh Add a "sy_flags" to struct sysent, define a SYCALL_MPSAFE 2001-01-27 07:21:43 +00:00
subr_autoconf.c Format paranoia 2000-07-08 18:11:02 +00:00
subr_disk.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
subr_extent.c pool_handle_t -> struct pool * 2000-12-06 18:05:57 +00:00
subr_log.c brain-oh in last. test logsoftc.sc_pgid, not p. 2000-05-28 18:31:13 +00:00
subr_pool.c Don't use PR_URGENT to allocate page header. We don't want to just panic 2001-01-29 02:38:02 +00:00
subr_prf.c Strip %b and DDB formats out of kprintf, as they are no longer supported. 2000-08-09 10:22:31 +00:00
subr_prof.c Introduce PROC_PC(), which is used to get a process's user PC. If this is 2000-12-10 19:29:30 +00:00
subr_rmap.c Back out previous. 1998-08-18 18:16:30 +00:00
subr_xxx.c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
sys_generic.c oops; accidentally dropped an initialisation in pollscan() in previous. 2001-02-27 04:44:51 +00:00
sys_process.c Adapt for procfs_valid* argument change. 2001-01-17 01:13:23 +00:00
sys_socket.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
syscalls.c Regen; getpid(2) is MP-safe. 2001-01-27 07:48:28 +00:00
syscalls.conf Round up the sysent table size. 2000-12-09 06:15:42 +00:00
syscalls.master getpid(2), our first MP-safe syscall! 2001-01-27 07:47:26 +00:00
sysv_ipc.c Make copyrights consistent; fix weird/trailing spaces add missing (c) etc. 1998-09-12 17:20:02 +00:00
sysv_msg.c Delete a couple of <uvm/uvm_extern.h> includes that were for 2000-07-22 16:11:02 +00:00
sysv_sem.c Delete a couple of <uvm/uvm_extern.h> includes that were for 2000-07-22 16:11:02 +00:00
sysv_shm.c NBPG -> PAGE_SIZE 2000-11-14 22:16:38 +00:00
tty_conf.c Rename the tablet line discipline "tablet". 2001-02-11 01:28:47 +00:00
tty_pty.c adjust the spinlock macros in the non-MULTIPROCESSOR, non-LOCKDEBUG case 2000-11-24 03:59:07 +00:00
tty_subr.c MALLOC()/FREE() are not to be used for variable sized allocations. 2000-08-02 20:53:07 +00:00
tty_tb.c constify 2001-01-18 20:28:15 +00:00
tty_tty.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
tty.c split off thread specific stuff from struct sigacts to struct sigctx, leaving 2000-12-22 22:58:52 +00:00
uipc_domain.c add pfctlinput2() (pfctlinput() with args). 2001-02-11 06:38:45 +00:00
uipc_mbuf2.c make sure we do not return shared M_EXT mbuf. it will avoid possible mbuf 2001-02-14 17:09:19 +00:00
uipc_mbuf.c Change some low-hanging splimp() calls to splvm(). 2001-01-14 02:06:21 +00:00
uipc_proto.c add PR_LISTEN for UNIX domain socket, SOCK_STREAM case. 1999-07-01 07:59:57 +00:00
uipc_socket2.c convert to ANSI KNF 2001-02-27 05:19:13 +00:00
uipc_socket.c convert to ANSI KNF 2001-02-27 05:19:13 +00:00
uipc_syscalls.c convert to ANSI KNF 2001-02-27 05:19:13 +00:00
uipc_usrreq.c Oops, missed a couple of places where CMSG_*() should be used. No 2000-06-05 16:29:45 +00:00
vfs_bio.c this doesn't need <sys/trace.h> 2000-12-13 17:48:46 +00:00
vfs_cache.c add ddb commands "show uvmexp" and "show ncache". 2000-11-24 07:25:50 +00:00
vfs_cluster.c Set doreallocblks=1 here. 2000-11-30 20:56:53 +00:00
vfs_getcwd.c Jump out of the scandir loop if VOP_READDIR returns an error, avoiding 2000-12-15 11:52:14 +00:00
vfs_init.c make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const 2001-01-22 12:17:35 +00:00
vfs_lockf.c change the lf_advlock() arguments from 2000-07-22 15:26:11 +00:00
vfs_lookup.c Convert namei pathname buffer allocation to use the pool allocator. 2000-08-03 20:41:05 +00:00
vfs_subr.c make some more constant arrays 'const' 2001-02-21 21:39:52 +00:00
vfs_syscalls.c Initial integration of the Unified Buffer Cache project. 2000-11-27 08:39:39 +00:00
vfs_vnops.c Initial integration of the Unified Buffer Cache project. 2000-11-27 08:39:39 +00:00
vnode_if.c regen: *_desc are generated correctly, new VNODE_OPS_COUNT, 2001-01-22 09:53:31 +00:00
vnode_if.sh when generating individual *_desc, generate also proper offsets so that 2001-01-22 09:52:21 +00:00
vnode_if.src Initial integration of the Unified Buffer Cache project. 2000-11-27 08:39:39 +00:00