CVS log for src/sys/kern/exec_script.c
Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.83.20.2: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:27:47 2026 UTC (11 days, 11 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.83.20.1: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.20.1: +11 -2
lines
Sync with HEAD
Revision 1.83.14.1: download - view: text, markup, annotated - select for diffs
Sat Oct 24 10:39:52 2026 UTC (3 weeks, 2 days ago) by martin
Branches: netbsd-10
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +11 -2
lines
Pull up following revision(s) (requested by riastradh in ticket #541):
sys/compat/netbsd32/netbsd32_signal.c: revision 1.57
sys/kern/kern_fork.c: revision 1.235
sys/kern/exec_subr.c: revision 1.93 (via patch)
sys/kern/kern_exec.c: revision 1.534 (via patch)
sys/kern/kern_exec.c: revision 1.535 (via patch)
sys/kern/exec_script.c: revision 1.86 (via patch)
exec: Free struct exec_package::ep_emul_arg in more error paths.
We should really formalize the destruction path for these temporary
exec data structures; these error branches are all tangled messes of
spaghetti.
PR kern/60657: panic: kernel diagnostic assertion "epp->ep_emul_arg
== NULL" failed: file
"/home/riastradh/netbsd/current/src/sys/kern/kern_exec.c", line 535
Test case forthcoming (it would panic the testbed) as part of
PR kern/60653: posix_spawn(3) causes incorrect stack base information
which is how I stumbled upon this.
Test various methods of getting the process's stack base and size.
And test the effect of fork, vfork, failed execve, and posix_spawn on
them.
PR kern/60653: posix_spawn(3) causes incorrect stack base information
t_signal_and_sp: Link against libpthread unconditionally now.
Required by new test cases added for:
PR kern/60653: posix_spawn(3) causes incorrect stack base information
execve(2): Set p_stackbase in execve_runproc, not execve_loadvm.
execve_loadvm must not have side effects on the running process for
two reasons:
1. If execve(2) fails, it has to be able to back out and return to
the calling process. For example, the shell will execute the
first of a series of candidate paths that works when it searches
$PATH, and if one fails, it has to be able to move on to try the
next.
2. The caller may be the _parent_ process -- this is the case when
we're in posix_spawn.
Instead, it must be set in execve_runproc, after we're committed to
the exec and can't back out -- and we're definitely operating on the
process that is executing a new image, not on its parent!
p_stackbase and its assignment in exec_setup_stack, a subroutine of
execve_loadvm, were introduced with the PaX ASLR changes back in 2007
in order to pass the true stack base via AT_STACKBASE in the ELF
auxv, and in order to have getcontext() return the true stack base,
in the face of address space layout randomization.
This change, however, broke the stack base returned by getcontext()
in programs that have tried to exec other programs and failed in
various ways. And made the later introduction of posix_spawn break
the stack base in the _parent_.
To fix this, we set p_stackbase -- under p_lock, to avoid racing with
sysctl_doeproc in another thread -- only in execve_runproc once we're
committed to the exec, but before copyoutargs -> es_copyargs =
elf_copyargs -> elf_populate_auxv needs to read it. (That said,
elf_populate_auxv(..., pack, ...) could just use pack->es_minsaddr
directly anyway, and then we wouldn't have that ordering constraint.)
PR kern/60653: posix_spawn(3) causes incorrect stack base information
fork(2), vfork(2): Copy the parent's stack base pointer to the child.
Don't just leak whatever random stack pointer some recycled struct
proc had!
TBD: Move p_stackbase in struct proc so this is covered by the memcpy
above, in a separate commit so we can pull this one up without any
change to the layout of struct proc.
PR kern/60653: posix_spawn(3) causes incorrect stack base information
compat32: Advertise true stack base to getcontext(2).
Needs adjustment for PaX ASLR.
This was missed as part of:
Module Name: src
Committed By: christos
Date: Wed Dec 26 22:11:54 UTC 2007
Add PaX ASLR (Address Space Layout Randomization) [from elad and myself]
https://mail-index.NetBSD.org/source-changes/2007/12/26/msg195243.html
PR kern/60877: t_signal_and_sp test failure with i386 userland on amd64
kernel
Revision 1.85.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 24 10:26:01 2026 UTC (3 weeks, 2 days ago) by martin
Branches: netbsd-11
CVS tags: netbsd-11-1-RELEASE
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +11 -2
lines
Pull up following revision(s) (requested by riastradh in ticket #541):
sys/compat/netbsd32/netbsd32_signal.c: revision 1.57
tests/kernel/h_getstack.c: revision 1.1
sys/kern/kern_fork.c: revision 1.235
sys/kern/exec_subr.c: revision 1.93
tests/kernel/Makefile: revision 1.100
tests/kernel/t_signal_and_sp.c: revision 1.22
tests/kernel/t_signal_and_sp.c: revision 1.23
tests/kernel/t_signal_and_sp.c: revision 1.24
distrib/sets/lists/tests/mi: revision 1.1429
tests/kernel/Makefile: revision 1.99
distrib/sets/lists/debug/mi: revision 1.518
tests/kernel/getstack.c: revision 1.1
sys/compat/linux32/arch/aarch64/linux32_exec_machdep.c: revision 1.3
tests/kernel/getstack.h: revision 1.1
sys/kern/kern_exec.c: revision 1.534
sys/kern/kern_exec.c: revision 1.535
sys/kern/exec_script.c: revision 1.86
exec: Free struct exec_package::ep_emul_arg in more error paths.
We should really formalize the destruction path for these temporary
exec data structures; these error branches are all tangled messes of
spaghetti.
PR kern/60657: panic: kernel diagnostic assertion "epp->ep_emul_arg
== NULL" failed: file
"/home/riastradh/netbsd/current/src/sys/kern/kern_exec.c", line 535
Test case forthcoming (it would panic the testbed) as part of
PR kern/60653: posix_spawn(3) causes incorrect stack base information
which is how I stumbled upon this.
Test various methods of getting the process's stack base and size.
And test the effect of fork, vfork, failed execve, and posix_spawn on
them.
PR kern/60653: posix_spawn(3) causes incorrect stack base information
t_signal_and_sp: Link against libpthread unconditionally now.
Required by new test cases added for:
PR kern/60653: posix_spawn(3) causes incorrect stack base information
execve(2): Set p_stackbase in execve_runproc, not execve_loadvm.
execve_loadvm must not have side effects on the running process for
two reasons:
1. If execve(2) fails, it has to be able to back out and return to
the calling process. For example, the shell will execute the
first of a series of candidate paths that works when it searches
$PATH, and if one fails, it has to be able to move on to try the
next.
2. The caller may be the _parent_ process -- this is the case when
we're in posix_spawn.
Instead, it must be set in execve_runproc, after we're committed to
the exec and can't back out -- and we're definitely operating on the
process that is executing a new image, not on its parent!
p_stackbase and its assignment in exec_setup_stack, a subroutine of
execve_loadvm, were introduced with the PaX ASLR changes back in 2007
in order to pass the true stack base via AT_STACKBASE in the ELF
auxv, and in order to have getcontext() return the true stack base,
in the face of address space layout randomization.
This change, however, broke the stack base returned by getcontext()
in programs that have tried to exec other programs and failed in
various ways. And made the later introduction of posix_spawn break
the stack base in the _parent_.
To fix this, we set p_stackbase -- under p_lock, to avoid racing with
sysctl_doeproc in another thread -- only in execve_runproc once we're
committed to the exec, but before copyoutargs -> es_copyargs =
elf_copyargs -> elf_populate_auxv needs to read it. (That said,
elf_populate_auxv(..., pack, ...) could just use pack->es_minsaddr
directly anyway, and then we wouldn't have that ordering constraint.)
PR kern/60653: posix_spawn(3) causes incorrect stack base information
fork(2), vfork(2): Copy the parent's stack base pointer to the child.
Don't just leak whatever random stack pointer some recycled struct
proc had!
TBD: Move p_stackbase in struct proc so this is covered by the memcpy
above, in a separate commit so we can pull this one up without any
change to the layout of struct proc.
PR kern/60653: posix_spawn(3) causes incorrect stack base information
compat32: Advertise true stack base to getcontext(2).
Needs adjustment for PaX ASLR.
This was missed as part of:
Module Name: src
Committed By: christos
Date: Wed Dec 26 22:11:54 UTC 2007
Add PaX ASLR (Address Space Layout Randomization) [from elad and myself]
https://mail-index.NetBSD.org/source-changes/2007/12/26/msg195243.html
PR kern/60877: t_signal_and_sp test failure with i386 userland on amd64
kernel
Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Aug 28 06:33:50 2026 UTC (2 months, 2 weeks ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +11 -2
lines
exec: Free struct exec_package::ep_emul_arg in more error paths.
We should really formalize the destruction path for these temporary
exec data structures; these error branches are all tangled messes of
spaghetti.
PR kern/60657: panic: kernel diagnostic assertion "epp->ep_emul_arg
== NULL" failed: file
"/home/riastradh/netbsd/current/src/sys/kern/kern_exec.c", line 535
Test case forthcoming (it would panic the testbed) as part of
PR kern/60653: posix_spawn(3) causes incorrect stack base information
which is how I stumbled upon this.
Revision 1.83.20.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:57:40 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +20 -17
lines
Sync with HEAD
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Dec 6 16:19:41 2024 UTC (23 months, 1 week ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801,
netbsd-11-base,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1
Branch point for: netbsd-11
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +8 -7
lines
sys/kern/kern_exec.c, exec_*.c: Sprinkle SET_ERROR dtrace probes.
PR kern/58378: Kernel error code origination lacks dtrace probes
Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Dec 6 16:18:41 2024 UTC (23 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +14 -12
lines
sys/kern/kern_exec.c, exec_*.c: Sort includes.
No functional change intended.
Revision 1.82.8.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:32 2021 UTC (5 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +2 -6
lines
Sync with HEAD.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon May 3 10:25:14 2021 UTC (5 years, 6 months ago) by fcambus
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: perseant-exfatfs,
netbsd-10
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -6
lines
Remove duplicate #ifdef block.
Revision 1.75.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:03 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.75.2.2: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.2: +1 -1
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:51 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.75.2.1: preferred, colored; branchpoint 1.75: preferred, colored
Changes since revision 1.75.2.1: +4 -4
lines
Merge changes from current as of 20200406
Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Mar 23 02:44:22 2020 UTC (6 years, 7 months ago) by pgoyette
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3
lines
Fix typo in comment.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Mar 23 00:46:11 2020 UTC (6 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3
lines
LK_SHARED is OK for VOP_ACCESS().
Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:53:01 2020 UTC (6 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +3 -3
lines
LK_SHARED for VOP_ACCESS().
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Sep 15 20:21:12 2019 UTC (7 years, 2 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
adjust for new check_exec signature.
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:03 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +11 -3
lines
Sync with HEAD
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:43 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +6 -2
lines
Merge the [pgoyette-compat] branch
Revision 1.74.18.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:41 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.74.18.2: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.18.2: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:35 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.74.18.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:38:08 2018 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.74.18.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.18.1: +6 -2
lines
Sync with HEAD
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Jun 30 11:10:54 2018 UTC (8 years, 4 months ago) by kre
Branches: MAIN
CVS tags: pgoyette-compat-0728
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -2
lines
Fix module build.
Options SUIDSCRIPTS and FDSCRIPTS will be off for the module.
If one (or both) should be enabled, add it to CPPFLAGSin the module Makefile.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Jun 30 00:37:37 2018 UTC (8 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -2
lines
defflag {SETUID,FD}SCRIPTS
Revision 1.74.18.1: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:22 2018 UTC (8 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -6
lines
Synch with HEAD
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Apr 27 18:33:24 2018 UTC (8 years, 6 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502
Branch point for: phil-wifi
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -6
lines
Canonicalize the interpreter path in #! scripts since check_exec() expects
an absolute path, and we KASSERT if that's not the case later.
Revision 1.66.18.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:44 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.66.18.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.18.1: +1 -1
lines
update from HEAD
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Sep 5 09:20:59 2014 UTC (12 years, 2 months ago) by matt
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-base,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.
Revision 1.66.18.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:28 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +40 -57
lines
Rebase to HEAD as of a few days ago.
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:55:58 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +13 -23
lines
Rebase.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Jun 30 17:31:15 2014 UTC (12 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -12
lines
Reorder two variables and fix some comments.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Jun 30 17:22:32 2014 UTC (12 years, 4 months ago) by maxv
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4
lines
If the interpreter is "", do not keep loading the script (which will later
fail), but return ENOEXEC directly.
ok christos@
Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Jun 23 18:06:32 2014 UTC (12 years, 4 months ago) by maxv
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +5 -11
lines
Use KASSERT() instead of #ifdef(DIAGNOSTIC). Clearer.
Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:03 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +29 -36
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.66.22.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:07 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +29 -36
lines
sync with head
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Mar 7 01:34:29 2014 UTC (12 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +17 -17
lines
c99 initializers for struct execsw
Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Feb 21 08:11:59 2014 UTC (12 years, 8 months ago) by maxv
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -9
lines
Revert rev1.38. The header already begins with EXEC_SCRIPT_MAGIC="#!".
So it can't be ELFMAG="\177ELF" at the same time.
ok christos@
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Feb 17 19:29:46 2014 UTC (12 years, 9 months ago) by maxv
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +13 -13
lines
Cosmetic; just replace whitespaces by tabs
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Sep 19 18:50:59 2013 UTC (13 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3
lines
exec modules need to be of the exec kind
Revision 1.63.8.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:12 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.63.8.2: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.8.2: +10 -3
lines
sync with head
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Nov 19 06:44:42 2010 UTC (16 years ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
khorben-n900,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys,
rmind-smpnet
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +10 -3
lines
Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.
Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).
The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.
Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:47:25 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +17 -26
lines
Sync with HEAD.
Revision 1.62.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:37 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.62.4.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.4.1: +17 -26
lines
sync with head.
Revision 1.63.8.2: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:52 2010 UTC (16 years, 4 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.63.8.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.8.1: +3 -3
lines
sync with head
Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Jun 24 13:03:11 2010 UTC (16 years, 4 months ago) by hannken
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
Revision 1.63.8.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:56 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +16 -25
lines
sync with head
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun May 2 05:30:20 2010 UTC (16 years, 6 months ago) by dholland
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +16 -25
lines
Remove the nameidata from struct exec_package. It was used only for two
things: passing an argument to check_exec, which is better done explicitly,
and handing back the resolved pathname generated by namei, which we can
make an explicit slot for in struct exec_package instead. While here,
perform some related tidyup, and store the kernel-side copy of the path
to the executable as well as the pointer into userspace. (But the latter
should probably be removed in the future.)
Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:46 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +47 -5
lines
sync with head.
Revision 1.62.12.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:37 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +47 -5
lines
Sync with HEAD.
Revision 1.61.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:18 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61.6.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.6.1: +45 -3
lines
Sync with HEAD.
Revision 1.62.10.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:07 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +47 -5
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:06 2008 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
uebayasi-xip-base1,
uebayasi-xip-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +47 -5
lines
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:
- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:00 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -8
lines
Sync with HEAD.
Revision 1.41.2.7: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:39:01 2008 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.6: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.6: +5 -8
lines
sync with head.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:55:00 2008 UTC (18 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-dm-base1,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
nick-hppapmap,
haad-dm
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -8
lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
Revision 1.57.14.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:45 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.57.14.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.14.2: +29 -39
lines
Sync with HEAD.
Revision 1.41.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:45:59 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.5: preferred, colored
Changes since revision 1.41.2.5: +30 -40
lines
sync with head
Revision 1.57.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:55:56 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +32 -42
lines
sync with HEAD
Revision 1.58.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:55:43 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +30 -40
lines
Sync with HEAD
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Jan 2 19:44:37 2008 UTC (18 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +29 -17
lines
use kmem_alloc instead of malloc.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Dec 31 15:32:10 2007 UTC (18 years, 10 months ago) by ad
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -24
lines
Remove systrace. Ok core@.
Revision 1.57.14.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:53 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.57.14.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.14.1: +3 -3
lines
Sync with HEAD.
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:06 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +3 -3
lines
Sync with head.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Dec 14 16:48:24 2007 UTC (18 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
nuke the leprechaun from VOP_ACCESS
Paul Lavoie, kern/37542
Revision 1.57.14.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:25 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -4
lines
Sync with HEAD.
Revision 1.41.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:32:34 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.4: preferred, colored
Changes since revision 1.41.2.4: +4 -4
lines
sync with head
Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:38:00 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +4 -4
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:02:00 2007 UTC (18 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: vmlocking2,
bouyer-xeni386
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -4
lines
Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.
quick consensus on tech-kern
Revision 1.41.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:40:39 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.3: preferred, colored
Changes since revision 1.41.2.3: +7 -9
lines
sync with head.
Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:09:39 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +6 -8
lines
Sync with head.
Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 8 14:17:15 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +6 -8
lines
Sync with head.
Revision 1.54.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:44 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.54.2.2: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.2: +6 -8
lines
sync with head.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Apr 22 08:30:00 2007 UTC (19 years, 7 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-idlelwp-base8,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs,
matt-armv6,
jmcneill-pm
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +6 -8
lines
Change the way that emulations locate files within the emulation root to
avoid having to allocate space in the 'stackgap'
- which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
search for absolute pathnames in the emulation root, if that fails it will
retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
the real root is returned instead (matching the behaviour of emul_lookup,
but being a cheap comparison here) so that programs that scan "../.."
looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.
Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:58:31 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.54.2.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.1: +3 -3
lines
Sync with HEAD.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:02 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:16 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:03 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.2: preferred, colored
Changes since revision 1.41.2.2: +5 -5
lines
sync with head.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:31:42 2007 UTC (19 years, 9 months ago) by pavel
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3
lines
Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.
Restores source compatibility with pre-newlock2 tools like ps or top.
Reviewed by Andrew Doran.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:30 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -4
lines
Merge newlock2 to head.
Revision 1.52.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:06 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.52.4.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.4.1: +3 -11
lines
Sync with head.
Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:04 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.1: preferred, colored
Changes since revision 1.41.2.1: +9 -18
lines
sync with head.
Revision 1.52.6.1: download - view: text, markup, annotated - select for diffs
Thu Dec 21 15:07:59 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +3 -11
lines
sync with head.
Revision 1.52.8.1: download - view: text, markup, annotated - select for diffs
Thu Dec 21 14:25:45 2006 UTC (19 years, 11 months ago) by tron
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +3 -11
lines
Pull up following revision(s) (requested by elad in ticket #294):
sys/kern/exec_script.c: revision 1.53
sys/kern/kern_exec.c: revision 1.233
sys/sys/exec.h: revision 1.115
Remove the third argument from check_exec() and just check for ep_flags
in the exec_package to know if we need to use VERIEXEC_DIRECT or
VERIEXEC_INDIRECT.
Suggested by and okay yamt@
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Dec 20 11:35:29 2006 UTC (19 years, 11 months ago) by elad
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
newlock2-nbase,
newlock2-base
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -11
lines
Remove the third argument from check_exec() and just check for ep_flags
in the exec_package to know if we need to use VERIEXEC_DIRECT or
VERIEXEC_INDIRECT.
Suggested by and okay yamt@
Revision 1.52.4.1: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:35 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -4
lines
Checkpoint work in progress.
Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:57:15 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +14 -15
lines
sync with head
Revision 1.45.8.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:45:46 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.45.8.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.8.2: +12 -13
lines
sync with head
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jul 26 09:33:57 2006 UTC (20 years, 3 months ago) by dogcow
Branches: MAIN
CVS tags: yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
netbsd-4-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2,
netbsd-4
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -1
lines
at the request of elad, as veriexec.h has returned, revert the changes
from 2006-07-25.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jul 25 00:23:06 2006 UTC (20 years, 3 months ago) by dogcow
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
mechanically go through and
s,include "veriexec.h",include <sys/verified_exec.h>,
as the former has apparently gone away.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Jul 24 16:37:28 2006 UTC (20 years, 3 months ago) by elad
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
some fixes:
- adapt to NVERIEXEC in init_sysctl.c.
- we now need "veriexec.h" for NVERIEXEC.
- "opt_verified_exec.h" -> "opt_veriexec.h", and include it only where
it is needed.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:10 2006 UTC (20 years, 3 months ago) by ad
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +7 -8
lines
Use the LWP cached credentials where sane.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Jul 22 10:34:26 2006 UTC (20 years, 4 months ago) by elad
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +6 -6
lines
deprecate the VERIFIED_EXEC option; now we only need the pseudo-device to
enable it. while here, some config file tweaks.
tons of input from cube@ (thanks!) and okay blymn@.
Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:09:37 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +17 -12
lines
sync with head.
Revision 1.45.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:38:06 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.45.6.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.6.1: +5 -5
lines
Sync with head.
Revision 1.45.12.2: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:40 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.45.12.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.12.1: +5 -5
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.45.8.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:40 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.45.8.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.8.1: +5 -5
lines
sync with head.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun May 14 21:15:11 2006 UTC (20 years, 6 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -5
lines
integrate kauth.
Revision 1.45.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:58 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
Sync with head.
Revision 1.45.10.2: download - view: text, markup, annotated - select for diffs
Wed Apr 19 05:13:59 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.45.10.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.10.1: +4 -4
lines
sync with head.
Revision 1.45.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:39 2006 UTC (20 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
sync with head.
Revision 1.45.12.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:42:26 2006 UTC (20 years, 7 months ago) by tron
Branches: peter-altq
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Mar 17 23:29:09 2006 UTC (20 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
elad-kernelauth-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
don't use MALLOC with a non-constant size; use malloc instead.
Revision 1.45.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 00:53:40 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -5
lines
Adapt to kernel authorization KPI.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:29 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +11 -10
lines
merge ktrace-lwp.
Revision 1.36.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:09:44 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.6: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.6: +32 -4
lines
Sync with HEAD. Here we go again...
Revision 1.38.10.7: download - view: text, markup, annotated - select for diffs
Thu Sep 8 21:06:30 2005 UTC (21 years, 2 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.38.10.6: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.10.6: +5 -3
lines
Apply patch (requested by elad in ticket #740):
Defopt VERIFIED_EXEC.
Revision 1.38.10.6: download - view: text, markup, annotated - select for diffs
Tue Aug 23 14:45:20 2005 UTC (21 years, 2 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.38.10.5: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.10.5: +3 -5
lines
Backout ticket 685. It causes build failures.
Revision 1.38.10.5: download - view: text, markup, annotated - select for diffs
Tue Aug 23 13:47:41 2005 UTC (21 years, 2 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.38.10.4: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.10.4: +3 -3
lines
Pull up revision 1.43 (requested by elad in ticket #685):
catch up with verified exec defopt changes.
Revision 1.38.10.4: download - view: text, markup, annotated - select for diffs
Tue Aug 23 13:44:06 2005 UTC (21 years, 2 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.38.10.3: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.10.3: +2 -0
lines
Pull up revision 1.42 (requested by elad in ticket #685):
defopt verified_exec.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Jul 29 14:49:00 2005 UTC (21 years, 3 months ago) by elad
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -2
lines
#ifdef VERIFIED_EXEC
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jul 17 05:22:34 2005 UTC (21 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
catch up with verified exec defopt changes.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jul 16 22:47:18 2005 UTC (21 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -2
lines
defopt verified_exec.
Revision 1.38.10.3: download - view: text, markup, annotated - select for diffs
Sat Jul 2 18:50:06 2005 UTC (21 years, 4 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.38.10.2: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.10.2: +0 -9
lines
Backout revision (requested by elad in ticket #487):
Backout systrace related changes. Only the the verified exec subsystem
fix which was accidentally committed with these changes should have been
pulled up.
Revision 1.38.10.2: download - view: text, markup, annotated - select for diffs
Sat Jul 2 17:53:58 2005 UTC (21 years, 4 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.38.10.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.10.1: +9 -0
lines
Pull up revision 1.40 (requested by elad in ticket #487):
From marius@openbsd:
Add an exec message so that whenever a set-uid/gid process executes a new
image which we may control, the exec does not go by unnoticed.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Jun 27 17:11:20 2005 UTC (21 years, 4 months ago) by elad
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +17 -4
lines
From marius@openbsd:
Fix an issue when scripts are executed under systrace where the argv[0]
would be normalized, and hence break scripts that depend on how they were
called.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Jun 26 19:58:29 2005 UTC (21 years, 4 months ago) by elad
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +11 -2
lines
From marius@openbsd:
Add an exec message so that whenever a set-uid/gid process executes a new
image which we may control, the exec does not go by unnoticed.
Revision 1.38.10.1: download - view: text, markup, annotated - select for diffs
Fri Jun 10 15:10:24 2005 UTC (21 years, 5 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -3
lines
Pull up revision 1.39 (requested by elad in ticket #389):
Some changes in veriexec.
New features:
- Add a veriexec_report() routine to make most reporting consistent and
remove some common code.
- Add 'strict' mode that controls how veriexec behaves.
- Add sysctl knobs:
o kern.veriexec.verbose controls verbosity levels. Value: 0, 1.
o kern.veriexec.strict controls strict level. Values: 0, 1, 2. See
documentation in sysctl(3) for details.
o kern.veriexec.algorithms returns a string with a space separated
list of supported hashing algorithms in veriexec.
- Updated documentation in man pages for sysctl(3) and sysctl(8).
Bug fixes:
- veriexec_removechk(): Code cleanup + handle FINGERPRINT_NOTEVAL
correctly.
- exec_script(): Don't pass 0 as flag when executing a script; use the
defined VERIEXEC_INDIRECT - which is 1. Makes indirect execution
enforcement work.
- Fix some printing formats and types..
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu May 19 20:16:19 2005 UTC (21 years, 6 months ago) by elad
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -3
lines
Some changes in veriexec.
New features:
- Add a veriexec_report() routine to make most reporting consistent and
remove some common code.
- Add 'strict' mode that controls how veriexec behaves.
- Add sysctl knobs:
o kern.veriexec.verbose controls verbosity levels. Value: 0, 1.
o kern.veriexec.strict controls strict level. Values: 0, 1, 2. See
documentation in sysctl(3) for details.
o kern.veriexec.algorithms returns a string with a space separated
list of supported hashing algorithms in veriexec.
- Updated documentation in man pages for sysctl(3) and sysctl(8).
Bug fixes:
- veriexec_removechk(): Code cleanup + handle FINGERPRINT_NOTEVAL
correctly.
- exec_script(): Don't pass 0 as flag when executing a script; use the
defined VERIEXEC_INDIRECT - which is 1. Makes indirect execution
enforcement work.
- Fix some printing formats and types..
Revision 1.36.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 31 08:19:33 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.5: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.5: +4 -4
lines
Adapt to branch.
Revision 1.36.2.5: download - view: text, markup, annotated - select for diffs
Sun Nov 14 08:15:57 2004 UTC (22 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.4: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.4: +10 -2
lines
Sync with HEAD.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Nov 4 23:55:28 2004 UTC (22 years ago) by matt
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: netbsd-3
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +10 -2
lines
Check to see if the script has an ELF header, and if so, return ENOEXEC.
Revision 1.36.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:35:03 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.3: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.3: +9 -8
lines
Fix the sync with head I botched.
Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:53:02 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.2: +8 -9
lines
Sync with HEAD.
Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:52:43 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +3 -3
lines
Sync with HEAD
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Apr 21 18:40:38 2004 UTC (22 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
kill sprintf, use snprintf
Revision 1.30.10.1: download - view: text, markup, annotated - select for diffs
Sun Aug 17 13:41:00 2003 UTC (23 years, 3 months ago) by tron
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +2 -2
lines
Pull up revision 1.33 (requested by tv in ticket #1424):
grow #! line length -- patch from cgd, fixes PR kern/20112 from Todd Vierling
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:35 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +9 -8
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:31:16 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Branch point for: ktrace-lwp
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -7
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:52 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +9 -8
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 16 14:25:03 2003 UTC (23 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4
lines
use strlcpy. [fixed off-by-one in subr_prop.c]
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Apr 2 01:00:20 2003 UTC (23 years, 7 months ago) by perry
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3
lines
grow #! line length -- patch from cgd, fixes PR kern/20112 from Todd Vierling
Revision 1.27.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:13:30 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.27.2.3: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.3: +4 -0
lines
Catch up to -current
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Oct 29 12:31:23 2002 UTC (24 years ago) by blymn
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -2
lines
Added support for fingerprinted executables aka verified exec
Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:44:50 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.27.2.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.2: +2 -2
lines
Catch up to -current.
Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:43:02 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.1: +3 -3
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:37:43 2002 UTC (24 years, 1 month ago) by provos
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3
lines
remove trailing \n in panic(). approved perry.
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:59:41 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -1
lines
Sync kqueue branch with -current.
Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:32 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.1: +4 -1
lines
Catch up to -current.
Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:18:43 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +4 -1
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Nov 12 15:25:04 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
ifpoll-base,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Branch point for: netbsd-1-6
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -1
lines
add RCSIDs
Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 19 13:36:19 2001 UTC (25 years, 4 months ago) by perry
Branches: netbsd-1-4
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.1: +7 -4
lines
Pull-up patch requested by Luke Mewburn.
Original commit message:
In check_exec(), don't bother checking P_TRACED along with
MNT_NOSUID, just check MNT_NOSUID to clear the S{U,G}ID bits
in the attributes for the vnode we're about to exec.
We now check P_TRACED right before we would actually perform
the s{u,g}id function in the exec code.
This closes a race condition between exec of a setuid binary
and ptrace(2).
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:06:42 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +8 -4
lines
Catch up to -current.
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 16 20:19:07 2001 UTC (25 years, 5 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +7 -4
lines
Pull up revision 1.29 (requested by thorpej):
Close a race condition between exec of a setuid binary and
ptrace(2): check P_TRACED right before adjusting the privilege
settings in the exec code.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Jun 15 17:24:19 2001 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache,
kqueue
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -4
lines
In check_exec(), don't bother checking P_TRACED along with
MNT_NOSUID, just check MNT_NOSUID to clear the S{U,G}ID bits
in the attributes for the vnode we're about to exec.
We now check P_TRACED right before we would actually perform
the s{u,g}id function in the exec code.
This closes a race condition between exec of a setuid binary
and ptrace(2).
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Jun 14 20:32:47 2001 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1
lines
Fix a partial construction problem that can cause race conditions
between creation of a file descriptor and close(2) when using kernel
assisted threads. What we do is stick descriptors in the table, but
mark them as "larval". This causes essentially everything to treat
it as a non-existent descriptor, except for fdalloc(), which sees a
filled slot so that it won't (incorrectly) allocate it again. When
a descriptor is fully constructed, the code that has constructed it
marks it as "mature" (which actually clears the "larval" flag), and
things continue to work as normal.
While here, gather all the code that gets a descriptor from the table
into a fd_getfile() function, and call it, rather than having the
same (sometimes incorrect) code copied all over the place.
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:05:17 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +2 -2
lines
Sync with HEAD.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Nov 21 00:37:56 2000 UTC (26 years ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2
lines
restructure struct emul and execsw, in preparation to make emulations LKMable:
* move all exec-type specific information from struct emul to execsw[] and
provide single struct emul per emulation
* elf:
- kern/exec_elf32.c:probe_funcs[] is gone, execsw[] how has one entry
per emulation and contains pointer to respective probe function
- interp is allocated via MALLOC() rather than on stack
- elf_args structure is allocated via MALLOC() rather than malloc()
* ecoff: the per-emulation hooks moved from alpha and mips specific code
to OSF1 and Ultrix compat code as appropriate, execsw[] has one entry per
emulation supporting ecoff with appropriate probe function
* the makecmds/probe functions don't set emulation, pointer to emulation is
part of appropriate execsw[] entry
* constify couple of structures
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:55 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -8
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Aug 3 20:41:21 2000 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
Convert namei pathname buffer allocation to use the pool allocator.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Aug 1 04:57:29 2000 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -4
lines
ANSI'ify.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jun 27 17:41:11 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -2
lines
remove include of <vm/vm.h>
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 1 23:11:20 2000 UTC (26 years, 9 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -2
lines
Pull up revision 1.23 (requested by assar):
Move the declaration of `vnops' to a header file, for the
benefit of LKMs.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Feb 1 01:23:29 2000 UTC (26 years, 9 months ago) by assar
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl,
chs-ubc2-newbase
Branch point for: netbsd-1-5
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2
lines
(exec_script_makecmds): remove declaration of vnops, now in
<sys/file.h>
Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:23:59 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -1
lines
Sync w/ -current.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri May 7 17:38:41 1999 UTC (27 years, 6 months ago) by tv
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base
Branch point for: thorpej_scsipi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
FILE_UNUSE wasn't updated in the FDSCRIPTS block.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed May 5 20:01:08 1999 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -1
lines
Add "use counting" to file entries. When closing a file, and it's reference
count is 0, wait for use count to drain before finishing the close.
This is necessary in order for multiple processes to safely share file
descriptor tables.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Feb 26 23:38:55 1999 UTC (27 years, 8 months ago) by wrstuden
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -3
lines
Modify VOP_CLOSE vnode op to always take a locked vnode. Change vn_close
to pass down a locked node. Modify union_copyup() to call VOP_CLOSE
locked nodes.
Also fix a bug in union_copyup() where a lock on the lower vnode would
only be released if VOP_OPEN didn't fail.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:22:27 1998 UTC (28 years, 8 months ago) by fvdl
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
eeh-paddr_t-base,
eeh-paddr_t,
chs-ubc-base,
chs-ubc
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Merge with Lite2 + local changes
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jul 8 02:32:02 1997 UTC (29 years, 4 months ago) by christos
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3,
marc-pcmcia-bp,
marc-pcmcia-base,
marc-pcmcia
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +18 -10
lines
Make this work for SETUIDSCRIPTS:
- include <sys/stat.h> for S_ISUID, S_ISGID
- fix bug where shortcut to fail would use uninitialized variables.
- elide other warnings.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu May 8 10:19:11 1997 UTC (29 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
va_mode contains stat bits. Use S_IS[UG]ID rather than VS[UG]ID.
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 11 05:32:44 1996 UTC (29 years, 11 months ago) by mycroft
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +14 -9
lines
From trunk:
Change the exec locking protocol to fix a deadlock.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Oct 13 02:32:29 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
CVS tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
backout previous kprintf change
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:46:11 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
printf -> kprintf, sprintf -> ksprintf
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Sep 30 23:18:44 1996 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +14 -9
lines
exec vnode locking protocol changes: in a nutshell, don't keep vnodes
locked for any longer than we have to.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Feb 4 02:15:06 1996 UTC (30 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -2
lines
First pass at prototyping
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Apr 10 18:27:59 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
Change `fdclose' to `fdrelease', to avoid confusion with device interfaces.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 9 12:05:47 1995 UTC (31 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2
lines
copy*str() should use size_t.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Dec 4 03:10:40 1994 UTC (31 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
Use common fdclose() rather than a private version.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 24 02:47:49 1994 UTC (32 years, 4 months ago) by cgd
Branches: netbsd-1-0
CVS tags: netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +6 -3
lines
from trunk.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jul 24 02:38:20 1994 UTC (32 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -3
lines
only use variables which are defined.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:32:12 1994 UTC (32 years, 4 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jun 8 11:28:29 1994 UTC (32 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4
lines
Update to 4.4-Lite fs code.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue May 24 02:39:13 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
MIN -> min, MAX -> max
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Apr 29 08:35:29 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -2
lines
kill an FDSCRIPTS bug which nobody had found yet.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Feb 16 01:21:00 1994 UTC (32 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +36 -19
lines
simplify error returns, and fix bugs
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jan 28 23:47:07 1994 UTC (32 years, 9 months ago) by jtc
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2
lines
Fix spelling error in Copyright notice
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jan 22 06:15:54 1994 UTC (32 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1
lines
don't forget to free old pathname buffer
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jan 16 03:10:03 1994 UTC (32 years, 10 months ago) by cgd
Branches: MAIN
clean up, break script handling out of check_exec(), and comment a bit.
CVSweb <webmaster@jp.NetBSD.org>