OpenBSD CVS

CVS log for src/sys/tmpfs/tmpfs_vnops.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.55 / (download) - annotate - [select for diffs], Mon May 13 11:17:41 2024 UTC (4 weeks ago) by semarie
Branch: MAIN
CVS Tags: HEAD
Changes since 1.54: +1 -10 lines
Diff to previous 1.54 (colored)

vfs: VOP_REMOVE: move vnode unlocking and ref dropping to FS-indep part

while here, ensure all vop_remove field are set, and always call the function.

the change is very conservative: it only adds vnode ref drop/unlock where it was
absent because it should be unreachable (and if it wasn't, it should fix
things).

ok miod@

Revision 1.54 / (download) - annotate - [select for diffs], Mon Mar 25 17:57:07 2024 UTC (2 months, 2 weeks ago) by guenther
Branch: MAIN
Changes since 1.53: +1 -14 lines
Diff to previous 1.53 (colored)

Move the "no (hard) linking directories" and "no cross-mount links"
checks from all the filesystems that support hardlinks at all into
the VFS layer.  Simplify, EPERM description in link(2).

ok miod@ mpi@

Revision 1.53 / (download) - annotate - [select for diffs], Fri Sep 8 20:00:28 2023 UTC (9 months ago) by mvs
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Remove the remnants of the leftover selinfo from vnode(9) layer. Just
mechanical 'selinfo' to 'klist' replacement in 'vnode' structure because
knote(9) API is already used.

<sys/selinfo.h> headers added where is was required.

ok bluhm

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jun 26 05:20:42 2022 UTC (23 months, 2 weeks ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.51: +1 -10 lines
Diff to previous 1.51 (colored)

Remove unused VOP_POLL().

OK mpi@

Revision 1.51 / (download) - annotate - [select for diffs], Sat Dec 11 09:28:26 2021 UTC (2 years, 5 months ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Clarify usage of __EV_POLL and __EV_SELECT

Make __EV_POLL specific to kqueue-based poll(2), to remove overlap
with __EV_SELECT that only select(2) uses.

OK millert@ mpi@

Revision 1.50 / (download) - annotate - [select for diffs], Sun Oct 24 16:02:44 2021 UTC (2 years, 7 months ago) by patrick
Branch: MAIN
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

tiny little whitespace fixes

Revision 1.49 / (download) - annotate - [select for diffs], Sun Oct 24 09:59:52 2021 UTC (2 years, 7 months ago) by patrick
Branch: MAIN
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored)

Prohibit renames of tmpfs mount-points to fix a panic.

From gerhard@

Revision 1.48 / (download) - annotate - [select for diffs], Sat Oct 23 17:39:08 2021 UTC (2 years, 7 months ago) by patrick
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Call uvm_vnp_uncache() in tmpfs_write().  We currently only call
uvm_vnp_uncache() in tmpfs_write() when a file grows in size.  This
is not enough.  We need to invalidate UVM's cache of the vnode every
time the contents of the vnode are modified.  Failure to do so might
lead to inconsistencies between read/mmap consumers.

From Pedro Martelletto

Revision 1.47 / (download) - annotate - [select for diffs], Sat Oct 23 17:38:00 2021 UTC (2 years, 7 months ago) by patrick
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Fix tmpfs_lookup locking for ".." == ".".  unveil_find_cover() calls
VFS_LOOKUP(dir, &parent) in a loop and looks up the parent directory
".." repeatedly. VFS_LOOKUP is expected to unlock 'dir' and return
'parent' locked.

So tmpfs_lookup() is called for ISDOTDOT and:
	- runs with dvp = dir, vpp = &parent
	- gets parent from tmpfs_vnode_get() and
	- re-locks dir with vn_lock(dvp)
but skips the call to
	VOP_UNLOCK(dvp);
on return because *vpp == dvp

The reason for doing so is the lookup for ".".  In this case
tmpfs_lookup() just increases the reference on dvp and copies the
pointer:
	*vpp = dvp; vref(dvp);

However, in our case we also have *vpp == dvp, but for a different
lookup (ISDOTDOT), so we must do the unlock.

From markus@

Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 11 13:31:35 2021 UTC (3 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

spelling

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 25 12:59:53 2020 UTC (3 years, 5 months ago) by visa
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Refactor klist insertion and removal

Rename klist_{insert,remove}() to klist_{insert,remove}_locked().
These functions assume that the caller has locked the klist. The current
state of locking remains intact because the kernel lock is still used
with all klists.

Add new functions klist_insert() and klist_remove() that lock the klist
internally. This allows some code simplification.

OK mpi@

Revision 1.44 / (download) - annotate - [select for diffs], Mon Oct 12 13:08:03 2020 UTC (3 years, 7 months ago) by visa
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

Fix build of tmpfs

The breakage was caused by the removal of #include <sys/systm.h>
from <uvm/uvm_map.h>.

OK deraadt@, mpi@, beck@

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jul 15 07:27:07 2020 UTC (3 years, 10 months ago) by gerhard
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored)

tmpfs_reclaim() has to make sure the VFS cache has no more locks held
for the vnode.

ok beck@

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 11 09:18:43 2020 UTC (4 years ago) by mpi
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Rename poll-compatibility flag to better reflect what it is.

While here prefix kernel-only EV flags with two underbars.

Suggested by kettenis@, ok visa@

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jun 8 08:04:10 2020 UTC (4 years ago) by mpi
Branch: MAIN
Changes since 1.40: +4 -1 lines
Diff to previous 1.40 (colored)

Use a new EV_OLDAPI flag to match the behavior of poll(2) and select(2).

Adapt FS kqfilters to always return true when the flag is set and bypass
the polling mechanism of the NFS thread.

While here implement a write filter for NFS.

ok visa@

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 7 13:27:52 2020 UTC (4 years, 2 months ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Abstract the head of knote lists. This allows extending the lists,
for example, with locking assertions.

OK mpi@, anton@

Revision 1.39 / (download) - annotate - [select for diffs], Thu Feb 20 16:56:52 2020 UTC (4 years, 3 months ago) by visa
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

Replace field f_isfd with field f_flags in struct filterops to allow
adding more filter properties without cluttering the struct.

OK mpi@, anton@

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 20 23:21:56 2020 UTC (4 years, 4 months ago) by claudio
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

struct vops is not modified during runtime so use const which moves each
into read-only data segment.
OK deraadt@ tedu@

Revision 1.37 / (download) - annotate - [select for diffs], Tue Dec 31 13:48:32 2019 UTC (4 years, 5 months ago) by visa
Branch: MAIN
Changes since 1.36: +21 -7 lines
Diff to previous 1.36 (colored)

Use C99 designated initializers with struct filterops. In addition,
make the structs const so that the data are put in .rodata.

OK mpi@, deraadt@, anton@, bluhm@

Revision 1.36 / (download) - annotate - [select for diffs], Mon Aug 5 08:35:59 2019 UTC (4 years, 10 months ago) by anton
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Allow concurrent reads of the f_offset field of struct file by
serializing both read/write operations using the existing file mutex.
The vnode lock still grants exclusive write access to the offset; the
mutex is only used to make the actual write atomic and prevent any
concurrent reader from observing intermediate values.

ok mpi@ visa@

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jul 12 13:56:28 2019 UTC (4 years, 11 months ago) by solene
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)

Revert anton@ changes about read/write unlocking
https://marc.info/?l=openbsd-cvs&m=156277704122293&w=2

ok anton@

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jul 10 16:43:20 2019 UTC (4 years, 11 months ago) by anton
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Make read/write of the f_offset field belonging to struct file MP-safe;
as part of the effort to unlock the kernel. Instead of relying on the
vnode lock, introduce a dedicated lock per file. Exclusive write access
is granted using the new foffset_enter and foffset_leave API. A
convenience function foffset_get is also available for threads that only
need to read the current offset.

The lock acquisition order in vn_write has been changed to match the one
in vn_read in order to avoid a potential deadlock. This change also gets
rid of a documented race in vn_read().

Inspired by the FreeBSD implementation.

With help and ok mpi@ visa@

Revision 1.33 / (download) - annotate - [select for diffs], Mon Oct 22 17:31:25 2018 UTC (5 years, 7 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

More "explicitely" -> "explicitly" in various comments.

ok guenther@ tb@ deraadt@

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 7 13:37:28 2018 UTC (6 years ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.31: +6 -14 lines
Diff to previous 1.31 (colored)

Make callers of VOP_CREATE(9) and VOP_MKNOD(9) responsible for
unlocking the directory vnode.

OK mpi@, helg@

Revision 1.31 / (download) - annotate - [select for diffs], Mon May 28 16:02:08 2018 UTC (6 years ago) by visa
Branch: MAIN
Changes since 1.30: +11 -3 lines
Diff to previous 1.30 (colored)

Call vput(dvp) in vnode operation functions instead of calling it in
the file allocation routine. This allows stepwise changing of the vnode
locking discipline.

OK mpi@

Revision 1.30 / (download) - annotate - [select for diffs], Wed May 23 14:49:08 2018 UTC (6 years ago) by reyk
Branch: MAIN
Changes since 1.29: +5 -2 lines
Diff to previous 1.29 (colored)

Fix build without DIAGNOSTIC, ok mikeb@

Revision 1.29 / (download) - annotate - [select for diffs], Wed May 2 02:24:56 2018 UTC (6 years, 1 month ago) by visa
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Remove proc from the parameters of vn_lock(). The parameter is
unnecessary because curproc always does the locking.

OK mpi@

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 28 03:13:05 2018 UTC (6 years, 1 month ago) by visa
Branch: MAIN
Changes since 1.27: +14 -14 lines
Diff to previous 1.27 (colored)

Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is always
curproc that does the locking or unlocking, so the proc parameter
is pointless and can be dropped.

OK mpi@, deraadt@

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jun 19 11:54:33 2016 UTC (7 years, 11 months ago) by natano
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.26: +5 -4 lines
Diff to previous 1.26 (colored)

Remove the lockmgr() API. It is only used by filesystems, where it is a
trivial change to use rrw locks instead. All it needs is LK_* defines
for the RW_* flags.

tested by naddy and sthen on package building infrastructure
input and ok jmc mpi tedu

Revision 1.26 / (download) - annotate - [select for diffs], Mon May 2 20:06:58 2016 UTC (8 years, 1 month ago) by natano
Branch: MAIN
Changes since 1.25: +10 -5 lines
Diff to previous 1.25 (colored)

Fix some issues wrt timestamp updating. The tmpfs_read() and
tmpfs_readlink() functions ignore the noatime mount option, tmpfs_read()
should not update atime when zero bytes have been requested (as per
posix) and tmpfs_write() should update mtime and ctime (as per posix).

ok espie

Revision 1.25 / (download) - annotate - [select for diffs], Sat Mar 19 12:04:16 2016 UTC (8 years, 2 months ago) by natano
Branch: MAIN
Changes since 1.24: +15 -15 lines
Diff to previous 1.24 (colored)

Remove the unused flags argument from VOP_UNLOCK().

torture tested on amd64, i386 and macppc
ok beck mpi stefan
"the change looks right" deraadt

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 6 16:10:23 2016 UTC (8 years, 4 months ago) by stefan
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Convert to uiomove. From Martin Natano.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 8 15:26:25 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.22: +8 -8 lines
Diff to previous 1.22 (colored)

correct errant spacing

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 17 04:43:21 2015 UTC (9 years, 1 month ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.21: +6 -7 lines
Diff to previous 1.21 (colored)

Tweaks utimensat/futimens handling to always update ctime, even when both
atime and mtime are UTIME_OMIT (at least for ufs, tmpfs, and ext2fs), and
to correctly handle a timestamp of -1.

ok millert@

Revision 1.21 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:52 2015 UTC (9 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.20: +1 -2 lines
Diff to previous 1.20 (colored)

Remove some includes include-what-you-use claims don't
have any direct symbols used.  Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 10 21:56:10 2015 UTC (9 years, 4 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

First step towards making uiomove() take a size_t size argument:
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 21 22:26:52 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +1 -6 lines
Diff to previous 1.18 (colored)

remove #if 0 cdefs.h blocks

Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 2 03:47:08 2014 UTC (9 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

unnecessary malloc.h include

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 8 17:19:26 2014 UTC (9 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.16: +1 -3 lines
Diff to previous 1.16 (colored)

decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.h
don't need to be married.
ok guenther miod beck jsing kettenis

Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 28 17:57:11 2014 UTC (10 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Reduce uvm include madness.  Use <uvm/uvm_extern.h> instead of
<uvm/uvm.h> if possible and remove double inclusions.

ok beck@, mlarkin@, deraadt@

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 28 15:59:38 2014 UTC (10 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.14: +7 -9 lines
Diff to previous 1.14 (colored)

guenther's addition of filechk didn't take into account the different
structure of tmpfs_write.

rewrite the opening tests to conform more to ffs's code, so that overrun
is not used unitialized. Patch by kettenis@ (on the road)

deraadt@ "do it right away"

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 25 17:31:15 2014 UTC (10 years, 3 months ago) by guenther
Branch: MAIN
Changes since 1.13: +14 -1 lines
Diff to previous 1.13 (colored)

Check for offset wraparound and enforce RLIMIT_FSIZE.

problem reported by brad@
ok kettenis@ millert@

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 22 18:28:16 2014 UTC (10 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.12: +105 -2 lines
Diff to previous 1.12 (colored)

bring over kqfilter code from ufs which works better than the
generic flavor. problems noted and tested by ajacoutot

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 7 04:44:56 2014 UTC (10 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.11: +8 -3 lines
Diff to previous 1.11 (colored)

Delay checking the vnode locking of the target vnodes in tmpfs_rename()
until we've confirmed they're on the same filesystem as the source:
not all filesystems do locking the same.

problem report and testing chrisz@
ok espie@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 23 17:23:51 2013 UTC (10 years, 5 months ago) by kettenis
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Move KASSERT a bit further down because it can apparently be triggered by
trying to hardlink a directory.  While this is not allowed on tmpfs, this
allows us to reach the code that checks for this such that we can return
the appropriate error.

Cluestick from Pedro Martelletto.
ok espie@

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 14 18:01:52 2013 UTC (10 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.9: +37 -218 lines
Diff to previous 1.9 (colored)

bring in a few improvements from pedro, guenther, me...

thanks to krw@ for the original cherry-picking, millert@ for useful comment.

so:
- no longer expose internal kernel addresses, uses seq numbers instead
- make sure the numbers don't overflow (millert@ UINT64_MAX)... a
conservative estimate is that tmpfs will run out of seqs in >600 years...
- don't malloc dents, put them on the stack and zero them
- gc whiteout code
- gc getpage/putpage code (shrink uvm instead)

okay krw@, millert@

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 10 11:00:28 2013 UTC (10 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.8: +70 -25 lines
Diff to previous 1.8 (colored)

A few fixes from Pedro Martelletto, adapted from
https://github.com/bitrig/bitrig/commits/pedro_tmpfs_fixes

7efd381ac3:

# mkdir -p x/y
# mv x/y/. z (or mv x/y/.. z)
(panic)

264ecd2c7b:

# mknod x b 100 100 (can be any block/character device)
# ls -lR /
(panic)

7da08d22fd:

# mkfifo x (or mknod x)
# mv x y
(panic)

af0666c65a:

# mount -t tmpfs -o -n16 tmpfs /mnt (create tmpfs with 16 inodes limit)
# cd /mnt
# touch x
# for i in `jot 100 1 100`; do ln -s x $i; done (create 100 symlinks, =
they "succeed" even though they failed)
# ls -lart

7e9296a6f8:

# mkdir x
# touch x/y
# chflags uappnd x (or sappnd)
# rm x/y

936b9cf257:

# mkdir -p x/y
# rmdir x/y/..
(panic)

de541406ef:

# touch x
# ln x y
# stat -f %c x
# sleep 10
# rm y
# stat -f %c x

okay guenther@, krw@

Revision 1.8 / (download) - annotate - [select for diffs], Sun Sep 22 03:34:31 2013 UTC (10 years, 8 months ago) by guenther
Branch: MAIN
Changes since 1.7: +2 -6 lines
Diff to previous 1.7 (colored)

The readdir vop should set uio_offset to the cookie of the entry
after the last entry that fit, but I had it setting it to the cookier
of the entry after that, so it would skip one entry for each block
required.

Remove the no-longer-needed cnt/cntp variable while we're touching things.

prodding and testing by espie@

Revision 1.7 / (download) - annotate - [select for diffs], Sun Sep 1 17:02:56 2013 UTC (10 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.6: +2 -41 lines
Diff to previous 1.6 (colored)

Update to match VOP_READDIR() changes: no more cookies, but d_off instead.

Prodding and initial diff from espie@

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 5 14:20:19 2013 UTC (11 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

plug name_ipool leak in tmpfs_link()
from pedro.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 5 12:51:01 2013 UTC (11 years ago) by espie
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

on drugs, did not read pedro's patch and just zapped the comment.
Obviously will not do... fixed

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 4 09:12:20 2013 UTC (11 years ago) by espie
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

restore code commented out while debugging. From pedro

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 4 02:57:29 2013 UTC (11 years ago) by brad
Branch: MAIN
Changes since 1.2: +5 -11 lines
Diff to previous 1.2 (colored)

Update pathconf handling for -current..

- Remove _PC_PATH_MAX, _PC_PIPE_BUF and _PC_SYNC_IO.
- Add _PC_TIMESTAMP_RESOLUTION.
- Change _PC_FILESIZEBITS from using "sizeof(off_t) * CHAR_BIT" to returning 64.

With input from and Ok guenther@

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 3 10:37:02 2013 UTC (11 years ago) by espie
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

sprinkle $OpenBSD$, pointed out by pedro

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 1 14:37:32 2013 UTC (11 years ago) by espie
Branch: MAIN

import tmpfs code, originally from netbsd.
heavy lifting by Pedro Martelletto, timestamp fixes by me.

THIS IS NOT ENABLED YET, AND REQUIRES UVM CHANGES AND REVIEW.
Imported, so that working on it can be mostly done in tree with less painful
diff exchanges, and that we have history of further changes.

okay tedu@, deraadt@

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.