| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is addressing cases such as fts_read(3) encountering an [EIO]
from fchdir(2) when FTS_NOCHDIR is not set. That would otherwise be
seen as a successful traversal in some of these cases while silently
discarding expected work.
As noted in r264201, fts_read() does not set errno to 0 on a successful
EOF so it needs to be set before calling it. Otherwise we might see
a random error from one of the iterations.
gzip is ignoring most errors and could be improved separately.
Reviewed by: vangyzen
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D27184
Notes:
svn path=/head/; revision=368467
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
Notes:
svn path=/head/; revision=326025
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
|
|
|
|
|
|
|
|
| |
PR: 191884
Submitted by: Dan McGregor <dan.mcgregor at usask.ca>
Reviewed by: mjg@ (earlier version)
Notes:
svn path=/head/; revision=311668
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://man.openbsd.org/?query=chmod&apropos=0&sec=0&arch=default&manpath=POSIX-2013
PR: 212337
Approved by: bcr (mentor)
Obtained from: NetBSD
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D8118
Notes:
svn path=/head/; revision=306582
|
|
|
|
|
|
|
|
|
|
|
| |
In this order, it won't try to recurse into a directory for which
it doesn't have permission, before changing that permission.
This follows an existing behavior in other BSDs, linux, OS X.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=283997
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
chmod, chflags, chgrp, chmod and chown now affect symlinks in -R mode as
defined in symlink(7); previously symlinks were silently ignored.
Differential Revision: https://reviews.freebsd.org/D2316
Reviewed by: jilles
MFC after: 1 month
Relnotes: yes
Sponsored by: Multiplay
Notes:
svn path=/head/; revision=282208
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Keep variables sorted
- Fix logic error with -f and -v options - don't print
the usual -v output if there was an error, whether or not
we were passed -f
- Don't call free(3) just before exit(2)
- Whitespace fixes
Submitted by: bde
Notes:
svn path=/head/; revision=196753
|
|
|
|
|
|
|
| |
NFSv4 enabled.
Notes:
svn path=/head/; revision=196711
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is identical to the mode computed from that ACL will modify the ACL.
For example, mode computed from the following ACL is 0600:
user:kamila:rwx--------C--:------:allow
owner@:--x-----------:------:deny
owner@:rw-p---A-W-Co-:------:allow
group@:rwxp----------:------:deny
group@:--------------:------:allow
everyone@:rwxp---A-W-Co-:------:deny
everyone@:------a-R-c--s:------:allow
However, applying that mode (chmod 0600) changes the ACL into this:
user:kamila:rwx-----------:------:deny
user:kamila:rwx--------C--:------:allow
owner@:--x-----------:------:deny
owner@:rw-p---A-W-Co-:------:allow
group@:rwxp----------:------:deny
group@:--------------:------:allow
everyone@:rwxp---A-W-Co-:------:deny
everyone@:------a-R-c--s:------:allow
In chmod(1) utility, there is an optimisation, which makes it not
call chmod(2) if the mode of the file is the same as the new mode.
Disable that optimisation for files which may have NFSv4 ACLs.
Reviewed by: rwatson
Approved by: re (kib)
Notes:
svn path=/head/; revision=195243
|
|
|
|
| |
Notes:
svn path=/head/; revision=194795
|
|
|
|
| |
Notes:
svn path=/head/; revision=139969
|
|
|
|
|
|
|
| |
OK'ed by: imp, core
Notes:
svn path=/head/; revision=127958
|
|
|
|
| |
Notes:
svn path=/head/; revision=123565
|
|
|
|
|
|
|
|
|
|
| |
handles them.
Reviewed by: audit
MFC after: 2 weeks
Notes:
svn path=/head/; revision=121794
|
|
|
|
| |
Notes:
svn path=/head/; revision=114433
|
|
|
|
| |
Notes:
svn path=/head/; revision=110057
|
|
|
|
|
|
|
|
|
| |
Reviewed by: freebsd-standards
PR: 40709
Submitted by: Edward Brocklesby <nighthawk@unrealircd.com>, johan
Notes:
svn path=/head/; revision=101297
|
|
|
|
|
|
|
| |
happy about it any more so change the useage so buildworld works again.
Notes:
svn path=/head/; revision=99743
|
|
|
|
| |
Notes:
svn path=/head/; revision=99109
|
|
|
|
| |
Notes:
svn path=/head/; revision=91078
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
Approved by: arch@, new style(9)
Notes:
svn path=/head/; revision=90107
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
``chown -h owner symlink'' did not set the symlink's owner
if the file the symlink points to already had that owner:
# ls -l alink afile
-rw-r--r-- 1 nobody ru 0 May 31 14:14 afile
lrwxr-xr-x 1 root ru 5 May 31 14:14 alink -> afile
# ./chown -h -v nobody alink
# ls -l alink afile
-rw-r--r-- 1 nobody ru 0 May 31 14:14 afile
lrwxr-xr-x 1 root ru 5 May 31 14:14 alink -> afile
Similarly for chgrp(1) and chmod(1).
Notes:
svn path=/head/; revision=77522
|
|
|
|
|
|
|
|
|
|
| |
is changed if -h option is given.
Requested by: bde
Obtained from: NetBSD (code part)
Notes:
svn path=/head/; revision=77342
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is required by symlink(7), ``Commands not traversing a file tree''
subsection, third paragraph:
: It is important to realize that this rule includes commands which may
: optionally traverse file trees, e.g. the command ``chown file'' is
: included in this rule, while the command ``chown -R file'' is not.
For chown(8) and chgrp(1), this is also is compliance with the latest
POSIX 1003.1-200x draft.
MFC after: 1 week
Notes:
svn path=/head/; revision=77333
|
|
|
|
| |
Notes:
svn path=/head/; revision=76871
|
|
|
|
| |
Notes:
svn path=/head/; revision=64013
|
|
|
|
|
|
|
|
|
| |
although it
would be difficult both technically and in practise.
Notes:
svn path=/head/; revision=62887
|
|
|
|
|
|
|
| |
Fix usage() style bug spotted by BDE.
Notes:
svn path=/head/; revision=53824
|
|
|
|
| |
Notes:
svn path=/head/; revision=53780
|
|
|
|
| |
Notes:
svn path=/head/; revision=50471
|
|
|
|
|
|
|
|
| |
-f Do not display a diagnostic message if chmod could not modify the
mode for file.
Notes:
svn path=/head/; revision=49544
|
|
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=41842
|
|
|
|
| |
Notes:
svn path=/head/; revision=36002
|
|
|
|
| |
Notes:
svn path=/head/; revision=35773
|
|
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24348
|
|
|
|
| |
Notes:
svn path=/head/; revision=22988
|
|
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
|
|
|
| |
Notes:
svn path=/head/; revision=20411
|
|
|
|
| |
Notes:
svn path=/head/; revision=17496
|
|
|
|
|
|
|
|
|
|
|
|
| |
/usr/src/bin. Note that some patches are still needed in that directory.
I (Joerg) finished most of Philippe's cleanup. /bin/sh will still
need *allot* of work, however.
Submitted by: charnier@lirmm.fr (Philippe Charnier)
Notes:
svn path=/head/; revision=7165
|
|
|
|
|
|
|
| |
namespace pollution in <time.h>.
Notes:
svn path=/head/; revision=6170
|
|
|
|
| |
Notes:
svn path=/head/; revision=3044
|
|
Notes:
svn path=/head/; revision=1556
|