Age | Commit message (Collapse) | Author |
|
test period; i think 3 years ago the last bugs fell out.
ok otto beck others
|
|
okay tedu@
|
|
msdos, NFS, fifos and devices, plus support for querying it in
getconf(2) and the requisite pathconf(2) manpage blurb
ok tedu@
|
|
_PC_PRIO_IO, and _PC_SYNC_IO names in VOP_PATHCONF(), as they're
fs-independent for us. Since we don't support latter three on any
fs, we can also define the related _POSIX_{ASYNC,PRIO,SYNC}_IO
symbols in <unistd.h> (via sys/unistd.h) with value -1.
Also, zap pointless tty-only values from procfs(!).
ok beck@, deraadt@
|
|
attributes; making it more "user-friendly". Mostly from FreeBSD.
OK guenther@, krw@.
|
|
rlimit, then a write that would take it over the limit should be
clamped, making it a partial write.
ok beck@
|
|
to diff against FreeBSD's.
From Brad; no object file change on amd64.
|
|
monitoring fs mounts happy
tested by ajacoutot@ and ok by thib@, krw@
|
|
|
|
|
|
and return EOPNOTSUPP directly from the VOP_* functions.
Filesystems should, at some point fill in every function
in the vop_default struct so we can get rid of the 'if'
statements in VOP_*.
|
|
unrelated, and his alpha is much happier now.
OK deraadt@
|
|
have been resolved.
|
|
OK oga@, beck@, matthew@
|
|
vector setup that has questionable features (that have, as far as I can
tell never been used in practice, atleast not in OpenBSD), remove all
the gunk and favor a simple struct full of function pointers that get
set directly by each of the filesystems.
Removes gobs of ugly code and makes things simpler by a magnitude.
The only downside of this is that we loose the vnoperate feature so
the spec/fifo operations of the filesystems need to be kept in sync
with specfs and fifofs, this is no big deal as the API it self is pretty
static.
Many thanks to armani@ who pulled an earlier version of this diff to
current after c2k10 and Gabriel Kihlman on tech@ for testing.
Liked by many. "come on, find your balls" deraadt@.
|
|
ok thibski@
|
|
"fine" thib@
|
|
prodded by and ok thib@
agreed by art@ and blambert@
|
|
"do it" thib@
|
|
making directory moves work... discussed w. & makes sense - millert@
|
|
the superuser. access(2) will now only indicate success for X_OK on
non-directories if there is at least one execute bit set on the file.
OK deraadt@ thib@ otto@
|
|
with eopnotsupp() instead;
ok blambert@
|
|
ok krw@
|
|
things based on their use. ok with fixes from tom, tested by grange too
|
|
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles
too.
|
|
save the correct offset in case the directory has support for long file
names, and return it to the caller so she can proceed from a valid point.
From Alexey Vatchenko, okay tedu@.
|
|
Zap all calls to simple_lock/unlock() on it (those calls are
#defined away though). Remove the LK_INTERLOCK from the calls
to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
(by remvoing the v_interlock from there calls to lockmgr()).
ok pedro@, art@, tedu@
|
|
|
|
effectively been a no-op for quite some time now,
without promise for future usage.
ok pedro@
Testing by krw@ (earlier diff)
and Johan Mson Lindman (tybollt@solace.miun.se)
|
|
|
|
Okay weingart@, "I'm game with putting my name on it" dlg@
|
|
Spotted by tedu@, okay tom@ and tedu@.
|
|
of panics and bugfixes. Access curproc directly, do not expect a process
pointer as an argument. Should fix many "process context required" bugs.
Incentive and okay millert@, okay marc@. Various testing, thanks.
|
|
cluster number into our . pointer. This fixes filesystem corruption
seen under these circumstances.
Testing nick@, krw@, ian@ and others - thanks.
"i agree" pedro@; "get it in" deraadt@
|
|
|
|
calculate fileids (fake inode numbers). This uses some hash code by
Thomas Wang, who has agreed to the existing licence on the file (i.e.
his name just needed to be added to the copyright list). Thanks.
Also a tiny bit of KNF.
Closes PR 4119; works for the OP Pawel Rogocz.
Help with testing todd@, thanks.
ok deraadt@
|
|
from MS-DOS filesystems.
Assistance otto@; thanks.
"looks ok" krw@; ok derradt@.
|
|
don't bother trying to write files bigger than this. Just return
EFBIG to caller, rather than panic()ing later.
Closes PR 4090. Assistance from otto@, tested by OP and moritz@;
thanks.
ok tedu@ deraadt@
|
|
|
|
which is not possible here. Problem found and fixed by form@.
ok millert@ fgsch@ pedro@
|
|
|
|
encapsulating all such access into wall-defined functions
that makes sure locking is done as needed.
It also cleans up some uses of wall time vs. uptime some
places, but there is sure to be more of these needed as
well, particularily in MD code. Also, many current calls
to microtime() should probably be changed to getmicrotime(),
or to the {,get}microuptime() versions.
ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others
"Oh, that is not your problem!" from miod@
|
|
|
|
|
|
|
|
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK
|
|
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@
|
|
|
|
file system.
submitted by mpech@ in pr1675
|
|
ok millert@
|