Age | Commit message (Collapse) | Author |
|
|
|
|
|
system behaviours such as forking, execve, sockets, etc.
in theory this extended by parsing the arguments first, and creating
the whitepathlist. the pathlist probably needs to be directory-oriented,
rather than exact path of files, because a gzip file may specify the
filename it wants (and that won't be available until it is opened, and
partially parsed). anyone want to give this a try?
gzip was an early goal for capsicum. who is running a capsicum gzip?
|
|
code. Found by trondd exercising coverage of tame in gzip.
ok guenther millert kettenis
|
|
ok krw millert
|
|
Not bugs in short-lived commands that call exit() -> _exit() immediately,
but for idempotency.
Originally found in ls(1) by Valgrind. Changes for other commands are
from deraadt@. Reviewed by me, tested in snapshots.
OK deraadt@
|
|
Prefer to set attributes by fd for regular files, and not follwing
symlinks for others.
ok brynet@ millert@
|
|
From Tim van der Molen
|
|
ok millert
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
Replace malloc() and realloc() calls that may have integer overflow in the
multiplication of the arguments with reallocarray().
ok deraadt@
|
|
|
|
|
|
When you don't get what you asked for, you get angry.
When you add a tiny bit, it should be "more" or "less" still,
or you'll get angry.
So lets make zmore(1) call more(1) and zless(1) call less(1),
as it's supposed to be.
okay and input from ingo@, no objections from author AKA millert@
|
|
|
|
issue pointed out by jmc@, verified by me.
ok jmc@
|
|
|
|
come from GNU zip and they were never in compress(1) until we added
gzip(1) support to it. Also remove -g flag from gzip(1) as it is
non-standard and only makes sense in compress(1).
Joint work with jmc@ and sobrado@. OK jmc@, sobrado@
|
|
come from GNU zip and they were never in compress(1) until we added
gzip(1) support to it.
joint work with jmc@ and millert@; millert@ will do the rest.
ok jmc@, millert@
|
|
- kill an unneccessary Pp that created double vertical space
- mention that posix marks these apps xsi
- add uncompress -V to the list of extensions
- document that posix stipulates a limit of 14 for -b, even though it
permits 15 and 16
ok sobrado millert
|
|
|
|
|
|
|
|
normally instead of with a value of 2. Also avoids unlinking the
file "stdout" in the current directory in this case.
OK miod@ sthen@ henning@ beck@
|
|
references into a STANDARDS section;
|
|
|
|
because the -V command printed them... gut the -V (and -L, while there)
to be silent.
ok miod jsg
|
|
line args specified. Closes PR 6573. OK deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ok jsg
|
|
ok jmc@
|
|
|
|
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;
thanks otto for feedback
|
|
updates to follow;
|
|
|
|
so write the uncompressed file in the same directory we would use
were the -N option not specified. Closes PR 5224
|
|
aborting silently, and pretending everything went alright.
This lets gzip(1) (especially gzip -t) detect truncated archives
and curruptions that violate the structure of the zlib format.
Unquiet compress(1) in zless/zmore, so the user has a chance
to see errors on corrupted archives.
OK millert@, markus@
|
|
|
|
storing the program mode variable (pmode) as a global let us have
a more consistent prototype for usage().
changes suggested by pyr@.
ok pyr@
|
|
diff written by millert based on a previous one by me;
millert's diff has a much better style and adds support for different
sets of options for each utility.
ok millert@
|
|
a bogus error message problem when the -t and -l flags are used together.
OK miod@
|
|
|
|
- note which options are extensions to POSIX
|
|
in SEE ALSO;
|
|
same behaviour but pager defaults to less instead of more.
Incorporating feedback from millert@ and jmc@
ok millert@ simon@
|