OpenBSD CVS

CVS log for src/sys/sys/namei.h


[BACK] Up to [local] / src / sys / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.50 / (download) - annotate - [select for diffs], Tue Jan 11 23:59:55 2022 UTC (2 years, 4 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

spelling

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jan 9 10:28:07 2022 UTC (2 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored)

Add an UNVEIL_USERSET flag which is set when a unveil node is added via
unveil(2). It is not set for nodes that are added as a result of a file
being added via unveil(2). Use this flag to test if backtracking should
be done or not. Also introduce UNVEIL_MASK which checks if any user flags
are set and is used to properly return EACCES vs ENOENT.

This fixes a problem where unveil("/", "r") & unveil("/usr/bin/id", "rx")
cause an error when read accessing "/usr/bin". It also makes sure that
unveil(path, "") will return ENOENT for any access of anything under path.

Reported by and OK semarie@

Revision 1.48 / (download) - annotate - [select for diffs], Thu Sep 2 12:35:23 2021 UTC (2 years, 9 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.47: +1 -2 lines
Diff to previous 1.47 (colored)

Refactor how unveil generates EACCES errors. Instead of tracking the
possible violation during the traversal of the path do the check at the
end. Make the code a bit easier to grok.
OK beck@ semarie@

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jul 15 06:57:02 2021 UTC (2 years, 10 months ago) by claudio
Branch: MAIN
Changes since 1.46: +1 -2 lines
Diff to previous 1.46 (colored)

UNVEIL_INSPECT is no longer needed, adjust code accordingly.
OK semarie@

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jul 8 13:33:05 2021 UTC (2 years, 11 months ago) by claudio
Branch: MAIN
Changes since 1.45: +1 -5 lines
Diff to previous 1.45 (colored)

Remove the code to store intermediary vnodes in the unveil list.
These traversed vnodes are a leftover from early times where realpath(3)
was still all done in userland.
OK semarie@

Revision 1.45 / (download) - annotate - [select for diffs], Thu Mar 19 13:55:20 2020 UTC (4 years, 2 months ago) by anton
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored)

Move unveil data structures away from the proc.h header into the
implementation file. Pushing the assignment of ps_uvpcwd down to
unveil_add() is required but it doesn't introduce any functional change.

ok mpi@ semarie@

Revision 1.44 / (download) - annotate - [select for diffs], Fri Nov 29 20:58:17 2019 UTC (4 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Eliminate the sketchy use of ps_mainproc here by making unveil_add_vnode()
take a struct proc* instead of a struct process*, and vice versa making
unveil_lookup() take a process* instead of a proc*.

ok beck@

Revision 1.43 / (download) - annotate - [select for diffs], Wed Sep 11 15:01:40 2019 UTC (4 years, 9 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Fix unveil for relative lookups in the non AT_FDCWD case

Issue spotted by Benjamin Baier <programmer@netzbasis.de> with relative
path lookups from openat(2). Lacking a current working directory unveil,
operations using the *at functions could fail when not crossing an unveil,
since an initial covering unveil was not found.

This corrects this so we walk up from the directory vnode to find a
covering unveil at the start of non AT_FDCWD lookups, and adds regress
for this case.

ok bluhm@

Revision 1.42 / (download) - annotate - [select for diffs], Fri Aug 2 08:12:35 2019 UTC (4 years, 10 months ago) by bluhm
Branch: MAIN
Changes since 1.41: +6 -1 lines
Diff to previous 1.41 (colored)

Move prototypes of unveil(2) functions which are used in separate C
files into the common namei.h header.
OK deraadt@

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jul 27 21:15:36 2019 UTC (4 years, 10 months ago) by bluhm
Branch: MAIN
Changes since 1.40: +5 -1 lines
Diff to previous 1.40 (colored)

Move unveil prototypes from vfs_lookup.c to namei.h for functions
implemented in kern_unveil.c.
OK deraadt@

Revision 1.40 / (download) - annotate - [select for diffs], Mon May 13 22:55:27 2019 UTC (5 years ago) by beck
Branch: MAIN
Changes since 1.39: +5 -2 lines
Diff to previous 1.39 (colored)

Add a kernel implementation of realpath() as __realpath().

We want this so that we can stop allowing readlink() on traversed
vnodes in unveil().

This includes all the kernel side and the system call.
This is not yet used in libc for realpath, so nothing calls this yet.
The libc wrapper will be committed later.

Testing by many, and ports build by naddy@

ok deraadt@

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jan 17 03:26:19 2019 UTC (5 years, 4 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Unveil fixes:

1) Correctly notice covering unveil when using .. - fix crash noticed by visa@
2) Notice when v_mount is NULL to not crash when unveil vnodes are on a
   forcibly unmounted filesystem, noticed by yasuoka@
3) Add a flag to ni_data so that failures from unveil flag mismatches in covering
   unveils return the correct EACCESS instead of ENOENT (noticed by brynet@)
ok deraadt@

Revision 1.38 / (download) - annotate - [select for diffs], Mon Aug 13 23:11:44 2018 UTC (5 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored)

More clear version of previous namei/pledge/chroot solution.  namei flag
KERNELPATH indicates this operation is being done on behalf of the kernel,
not a process, so ignore chroot of the current process context, start at /,
and skip unveil and pledge checks.  Discussed with beck and semarie

Revision 1.37 / (download) - annotate - [select for diffs], Sat Aug 11 16:16:07 2018 UTC (5 years, 10 months ago) by beck
Branch: MAIN
Changes since 1.36: +3 -1 lines
Diff to previous 1.36 (colored)


Get rid of PLEDGE_STAT, which was a hack used for unveil.
We use UNVEIL_INSPECT instead in the unveil flags for the same
purpose, and now add traversed vnodes of a path with UNVEIL_INSPECT
instead of with 0 flags and voodoo in unveil_flagmatch. This
allows us to uncontort the logic of unveil_flagmatch a bunch.
helpful review and ok from semarie@

Revision 1.36 / (download) - annotate - [select for diffs], Sun Aug 5 14:23:57 2018 UTC (5 years, 10 months ago) by beck
Branch: MAIN
Changes since 1.35: +9 -1 lines
Diff to previous 1.35 (colored)

Decouple unveil from the pledge flags, by adding dedicated unveil flags
to the namei args. This fixes a bug where chmod would be allowed when
with only READ. This also allows some further cleanup of some awkward
things like PLEDGE_STAT that will follow
Lots of assistence from semarie@ - thanks!
ok semarie@

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jul 13 09:25:23 2018 UTC (5 years, 10 months ago) by beck
Branch: MAIN
Changes since 1.34: +8 -1 lines
Diff to previous 1.34 (colored)

Unveiling unveil(2).
This brings unveil into the tree, disabled by default - Currently
this will return EPERM on all attempts to use it until we are
fully certain it is ready for people to start using, but this
now allows for others to do more tweaking and experimentation.

Still needs to send the unveil's across forks and execs before
fully enabling.

Many thanks to robert@ and deraadt@ for extensive testing.
ok deraadt@

Revision 1.34 / (download) - annotate - [select for diffs], Tue Aug 29 02:51:27 2017 UTC (6 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.33: +1 -8 lines
Diff to previous 1.33 (colored)

Remove old deactivated pledge path code.  A replacement mechanism is
being brewed.
ok beck

Revision 1.33 / (download) - annotate - [select for diffs], Fri Sep 16 03:21:16 2016 UTC (7 years, 8 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.32: +5 -6 lines
Diff to previous 1.32 (colored)

move the namecache_rb_tree from RB macros to RBT functions.

i had to shuffle the includes a bit. all the knowledge of the RB
tree is now inside vfs_cache.c, and all accesses are via cache_*
functions.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Apr 29 14:40:36 2016 UTC (8 years, 1 month ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.31: +8 -11 lines
Diff to previous 1.31 (colored)

Fix some gibbering horrors due to uninitialized struct nameidata's

1) turn NDINITAT into a function and make the macros point to it
with the later goal of getting rid of them.

2) Sweep the kernel for places where people make a struct nameidata manually
on the stack and fill in what they hope are the required fields and count
on prayer and clean living to always get them right. Instead use NDINIT
everywhere. NFS was especially bad for this and there have likely
been things lurking there for a while.

3) Add a couple of strategic KASSERT's to catch future offenders.

ok krw@ sthen@ deraadt@

Revision 1.31 / (download) - annotate - [select for diffs], Thu Apr 28 14:25:08 2016 UTC (8 years, 1 month ago) by beck
Branch: MAIN
Changes since 1.30: +8 -1 lines
Diff to previous 1.30 (colored)

1) Split pledge whitelist path handling out of pledge_namei() and into
   pledge_namei_wlpath(). Call the wlpath check only at the end of namei
   after the namei lookup would otherwise succeed.
2) Add support to namei to keep the path that was looked up, without the
   symlinks in it, and use that path for whitelist path lookups. This
   means that paths in pledge whitelists will need to always be the
   real path to an intended file to whitelist, without symlinks. Any
   symlinks to the "real" file will then be allowed
ok deraadt@ semarie@

Revision 1.30 / (download) - annotate - [select for diffs], Sun Dec 6 17:50:21 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Change kernel internal pledge variables to 64bit (to prepare for more
extensions).  This change is exposed in ktrace.out files
ok semarie

Revision 1.29 / (download) - annotate - [select for diffs], Mon Nov 2 16:31:55 2015 UTC (8 years, 7 months ago) by semarie
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

move the pledgenote annotation from `struct proc' to `struct nameidata'

pledgenote is used for annotate the policy for a namei context. So make it
tracking the nameidata.

It is expected for the caller to explicitly define the policy. It is a kernel
bug to not do so.

ok deraadt@

Revision 1.28 / (download) - annotate - [select for diffs], Wed Mar 27 01:56:50 2013 UTC (11 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

rename NCHNAMLEN to NAMECACHE_MAXLEN. easier to read, easier to type.
ok beck deraadt after a style issue noticed by kettenis

Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 30 03:43:27 2011 UTC (12 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Change ni_dirfd's position in struct nameidata to eliminate alignment
padding on LP64 platforms

ok millert@ miod@

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 7 23:45:00 2011 UTC (12 years, 11 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.25: +9 -2 lines
Diff to previous 1.25 (colored)

Add new syscall entries to support the openat(2) family of functions
added in POSIX Issue 7: openat(), mknodat(), mkfifoat(), linkat(),
symlinkat(), unlinkat(), faccessat(), fstatat(), readlinkat(),
fchmodat(), fchownat(), utimensat(), renameat(), and mkdirat().

This diff mostly just refactors the existing sys_foo() logic into a
common dofooat() function that can then be called by both sys_foo()
and sys_fooat().  Some of the new system calls support new flags to
control their behavior, and proper support for these will be added in
subsequent diffs.

Incorporating suggestions from thib@, guenther@, and tedu@.

ok tedu@, thib@, deraadt@, guenther@

Revision 1.25 / (download) - annotate - [select for diffs], Thu Sep 9 10:37:04 2010 UTC (13 years, 9 months ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Rename lookup/relookup to vfs_lookup/vfs_relookup.

OK oga@, beck@, matthew@

Revision 1.24 / (download) - annotate - [select for diffs], Wed May 19 08:31:23 2010 UTC (14 years ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

clean up a few things that where left to rot after bob's vfs cache work.
sync a few comments to reality (or remove them), remove the cn_hash member
from struct componentname, spacing.

ok beck@

Revision 1.23 / (download) - annotate - [select for diffs], Wed Aug 12 16:42:24 2009 UTC (14 years, 10 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.22: +11 -4 lines
Diff to previous 1.22 (colored)

Namecache revamp.

This eliminates the large single namecache hash table, and implements
the name cache as a global lru of entires, and a redblack tree in each
vnode. It makes cache_purge actually purge the namecache entries associated
with a vnode when a vnode is recycled (very important for later on actually being
able to resize the vnode pool)

This commit does #if 0 out a bunch of procmap code that was
already broken before this change, but needs to be redone completely.

Tested by many, including in thib's nfs test setup.

ok oga@,art@,thib@,miod@

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 29 08:57:28 2008 UTC (15 years, 9 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.21: +2 -4 lines
Diff to previous 1.21 (colored)

fix comment: we use a pool for namei, so malloc considerations do not
apply; ok jsg@

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jul 5 12:56:52 2008 UTC (15 years, 11 months ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.20: +28 -22 lines
Diff to previous 1.20 (colored)


bumb the bcachestats and the nchstats counters from long
to u_int64_t's; add two new counters to nchstats that will
be used in the future.

ok art@, beck@

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 7 07:41:59 2007 UTC (16 years, 10 months ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

fix the "double-path" errors seen with getcwd by saving the orignal
buffer position in vfs_getcwd_getcache() and restoring it on error.
Use u_int32_t for the componentname hash, use the same type in
the diagnostic code in relookup() to prevent unsigned vs signed errors.

help, testing & ok kurt@
ok millert@, art@

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jun 2 01:34:50 2007 UTC (17 years ago) by thib
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

no need to extern nextvnodeid here.

ok beck@

Revision 1.18 / (download) - annotate - [select for diffs], Wed May 30 04:27:43 2007 UTC (17 years ago) by beck
Branch: MAIN
Changes since 1.17: +0 -3 lines
Diff to previous 1.17 (colored)

back out vfs change - todd fries has seen afs issues, and I'm suspicious
this can cause other problems.

Revision 1.17 / (download) - annotate - [select for diffs], Tue May 29 05:28:54 2007 UTC (17 years ago) by beck
Branch: MAIN
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored)


	Step one of some vnode improvements - change getnewvnode to
actually allocate "desiredvnodes" - add a vdrop to un-hold a vnode held
with vhold, and change the name cache to make use of vhold/vdrop, while
keeping track of which vnodes are referred to by which cache entries to
correctly hold/drop vnodes when the cache uses them.
ok thib@, tedu@, art@

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 20 17:01:14 2005 UTC (18 years, 10 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Typo in kern.nchstats sysctl names.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 18 18:09:43 2005 UTC (18 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (colored)

Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@

Revision 1.14 / (download) - annotate - [select for diffs], Thu May 26 22:40:52 2005 UTC (19 years ago) by marius
Branch: MAIN
Changes since 1.13: +21 -13 lines
Diff to previous 1.13 (colored)

add a reverse name mapping into the namecache.  (vnode->name)

this will help speedup getcwd (coming soon).

ok pedro@

Revision 1.6.10.5 / (download) - annotate - [select for diffs], Sat Jun 5 23:13:09 2004 UTC (20 years ago) by niklas
Branch: SMP
Changes since 1.6.10.4: +3 -1 lines
Diff to previous 1.6.10.4 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Merge with the trunk

Revision 1.13 / (download) - annotate - [select for diffs], Fri May 14 04:00:33 2004 UTC (20 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

use pool for namei pathbuf.  testing ok millert@ tdeval@

Revision 1.6.10.4 / (download) - annotate - [select for diffs], Sat Jun 7 11:09:07 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.6.10.3: +2 -6 lines
Diff to previous 1.6.10.3 (colored) to branchpoint 1.6 (colored)

Sync SMP branch to -current

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 2 23:28:21 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.11: +2 -6 lines
Diff to previous 1.11 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.7.4.3 / (download) - annotate - [select for diffs], Mon May 19 22:32:19 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.7.4.2: +3 -2 lines
Diff to previous 1.7.4.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync

Revision 1.6.10.3 / (download) - annotate - [select for diffs], Fri Mar 28 00:41:30 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.6.10.2: +3 -2 lines
Diff to previous 1.6.10.2 (colored) to branchpoint 1.6 (colored)

Sync the SMP branch with 3.3

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 31 20:41:29 2003 UTC (21 years, 4 months ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_A, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Sigh. I comitted the wrong diff in the last vfs changes.
These are the files that were ok:ed and tested.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 31 17:37:50 2003 UTC (21 years, 4 months ago) by art
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

File system locking fixups, mostly from NetBSD:
- cache_lookup
        move common code from various fs's here
        always return with vnode and parent locked
        adjust return codes
- PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode
- kernfs and procfs
        lock vnode in get_root
        don't unlock (again) in kernfs_freevp
        fix memory leak in procfs

From tedu@stanford.edu
deraadt@ and various other ok

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:49 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.7.4.1: +2 -2 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored)

sync to -current

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 3 21:19:08 2002 UTC (21 years, 11 months ago) by miod
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Change all variables definitions (int foo) in sys/sys/*.h to variable
declarations (extern int foo), and compensate in the appropriate locations.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:32:33 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.7: +10 -10 lines
Diff to previous 1.7 (colored)

Sync UBC branch to -current

Revision 1.6.10.2 / (download) - annotate - [select for diffs], Thu Mar 28 14:52:01 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.6.10.1: +10 -10 lines
Diff to previous 1.6.10.1 (colored) to branchpoint 1.6 (colored)

Merge in -current from roughly a week ago

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:14 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.7: +10 -10 lines
Diff to previous 1.7 (colored)

First round of __P removal in sys

Revision 1.6.10.1 / (download) - annotate - [select for diffs], Wed Jul 4 11:00:24 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.6: +24 -1 lines
Diff to previous 1.6 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 11 06:36:59 2001 UTC (23 years, 1 month ago) by angelos
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.6: +24 -1 lines
Diff to previous 1.6 (colored)

sysctl entries for kmemstats, nselcoll, nchstats, and forkstat.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 9 20:16:48 1998 UTC (26 years, 5 months ago) by csapuntz
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Branch point for: SMP
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

PARAMASK updated to reflect addition of new bit

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 9 16:21:57 1998 UTC (26 years, 5 months ago) by csapuntz
Branch: MAIN
Changes since 1.4: +14 -13 lines
Diff to previous 1.4 (colored)

A better fix for the mkdir ("path/") bug. This fix strips the trailing slashes
(except in the case where the path is just /////) in the following three
cases:

1) The path in mkdir
2) The destination path in rename if the source was a directory
3) The destination path in link if the source was a directory

Note #3 isn't strictly necessary since most of our file systems don't
support hard links of directories anyway.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 18 17:37:36 1997 UTC (26 years, 11 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Switch to the NetBSD implementation of null path handling; by kleink@NetBSD.org

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 8 14:25:51 1996 UTC (27 years, 6 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

-Wcast-qual happiness

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 3 12:12:05 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +10 -2 lines
Diff to previous 1.1 (colored)

From NetBSD: 960217 merge

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:28 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:53:28 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.