| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Note that this changes error reporting behaviour somewhat - before,
no error was reported if ACL couldn't be copied because the target
filesystem doesn't support ACLs. Now, it will be reported - of course,
only if there actually is an ACL to copy.
Reviewed by: rwatson
|
|
|
|
|
|
|
|
|
| |
This reported ENOSYS before.
PR: bin/111226 (part of)
Submitted by: Martin Kammerhofer
Approved by: ed (mentor)
MFC after: 3 weeks
|
|
|
|
|
|
| |
compatibility interfaces in both kernel and libc.
Reviewed by: rwatson
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the system. A simple heuristics is used to detect what is "enough"
memory: if number of physmem pages is greater than 32k (equalling 128 MB
on machines with 4 kB pages).
Typical immediate result of these changes is reduction in context switches
and the goal is to increase efficiency by using large buffers:
before: /usr/bin/time -hlp cat file1 > file2
...
163 voluntary context switches
11194 involuntary context switches
after: /usr/bin/time -hlp ./cat file1 > file2
...
417 voluntary context switches
272 involuntary context switches
Reviewed by: hackers@ (no objections to earlier version of cat patch)
Approved by: gnn (mentor)
MFC after: 4 months
|
|
|
|
|
|
|
| |
like smbnetfs, do not support mmap.
Reported by: Harti Brandt
MFC after: 1 month
|
|
|
|
|
| |
Submitted by: kensmith
Approved by: rwatson (mentor)
|
|
|
|
|
| |
Approved by: rwatson
MFC after: 3 weeks
|
|
|
|
|
|
| |
compatibility with other implementations.
MFC after: 1 month
|
|
|
|
| |
Submitted by: Peter Jeremy <peterjeremy@optushome.com.au>
|
|
|
|
|
|
|
|
|
| |
warning is given when the directory doesn't exist.
PR: bin/50656
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Approved by: grog@
Not reviewed by: grog@
|
| |
|
| |
|
| |
|
|
|
|
| |
Lesson from: bde
|
|
|
|
|
|
|
|
| |
compatible with old -r behavior with regards to -L. You can now copy fifos
and other special files with -r.
Reviewed by: -standards (long ago), das, bde
Approved by: bde (recently)
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
| |
o Place error checking code near to the syscall.
Submitted by: bde
|
|
|
|
|
|
|
|
| |
displayed by SIGINFO handler from overflow.
PR: bin/104039
Submitted by: Geoffrey Giesemann
MFC after: 2 weeks
|
|
|
|
| |
Overall still not kosher but better matches style(9).
|
|
|
|
| |
- Touch manpage's document date.
|
|
|
|
| |
attempt to enter append mode twice in vi(1). :-)
|
|
|
|
|
|
| |
Bikeshedded to death on: hackers
Submitted by:andersonatcenttech.com
MFC in: 1 month
|
|
|
|
| |
Obtained from: NetBSD, Coverity ID 1754
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes adding support for ACLs into cp(1) and mv(1) userspace
utilities.
For mv(1), if _PC_ACL_EXTENDED is in effect for the source AND destination
operands, the destination file's ACLs shall reflect the source.
For cp(1), if _PC_ACL_EXTENDED is in effect for both source and destination
operands, and -p has been specified, the ACLs from the source shall be
preserved on the destination.
MFC after: 1 month
|
|
|
|
| |
Noticed by: ru, who else? :)
|
|
|
|
|
| |
PR: 75774
Submitted by: Mike Meyer <mwm@mired.org> (original version)
|
| |
|
|
|
|
| |
Sort standard sections in the (documented) preferred order.
|
| |
|
| |
|
| |
|
|
|
|
| |
OK'ed by: imp, core
|
|
|
|
| |
Submitted by: Wiktor Niesiobedzki <bsd@w.evip.pl>
|
|
|
|
| |
Submitted by: Jun Kuriyama
|
|
|
|
|
|
|
|
| |
also fix a slight bogon that assumed an fd of 0 was not valid. Changed
it to be -1.
PR: bin/25017
Submitted by: Martin Kammerhofer
|
|
|
|
|
|
| |
Prodded by: marcel
While here, spell the "set-{user,group}-ID bit" correctly.
|
| |
|
|
|
|
|
| |
<sys/param.h>. Include <sys/types.h> instead of of <sys/param.h>
so that further such dependencies don't develop.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the cumulative exit status being overwritten when directory permissions
were being set. This was particularly bad when called from mv(1) to
perform a cross-device move as the original files were deleted even if
the copy failed.
Reported by: Slaven Rezic <slaven.rezic@berlin.de>
Patch by: bde
PR: 42789
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hack, thereby allowing future extensions to the structure (e.g., for extended
attributes) without rebreaking the ABI. FTSENT now contains a pointer to the
parent stream, which fts_compar() can then take advantage of, avoiding the
undefined behavior previously warned about. As a consequence of this change,
the prototype of the comparison function passed to fts_open() has changed
to reflect the required amount of constness for its use. All callers in the
tree are updated to use the correct prototype.
Comparison functions can now make use of the new parent pointer to access
the new stream-specific private data pointer, which is intended to assist
creation of reentrant library routines which use fts(3) internally.
Not objected to in spirit by: -arch
|
|
|
|
| |
Approved by: sheldonh (mentor)
|
| |
|
| |
|
|
|
|
|
|
|
| |
PR: 7828
Suggested by: Daniel O'Connor <doconnor@gsoft.com.au>
Approved by: sheldonh (mentor)
MFC after: 2 weeks
|
|
|
|
| |
src/contrib/gcc/c-format.c .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
arg 2 to err() and friends, and warnings are promoted to errors.
This allows the following revisions to be reverted:
rev 1.39 src/bin/cp/cp.c
rev 1.26 src/bin/chmod/chmod.c
rev 1.40 src/bin/rm/rm.c
The following revisions can already be reverted, because they were
already covered by WFORMAT=0:
rev 1.8 src/bin/ls/lomac.c
rev 1.63 src/bin/ls/ls.c
rev 1.8 src/bin/ps/lomac.c
rev 1.34 src/bin/rcp/rcp.c
|