| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
status of a background process that has terminated because of a signal.
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
|
| |
Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai]
strings; using these strings is unsafe in troff mode, as they include a
change in a font size.
Approved by: re
|
|
|
|
|
|
|
|
| |
order, as required by style(9). Document the effect of the -f option
on exit status. Fixed some spacing.
Submitted by: bde
Approved by: re
|
|
|
|
| |
Approved by: re
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
|
|
| |
is reduced by 40k, dynamic by a few bytes.
Functional changes:
* "sleep -- arg" now returns usage() instead of ignoring the --
* "sleep -1" now returns immediately instead of returning usage()
Reviewed by: jmallett
|
|
|
|
|
| |
in sleep including duping strtol(3). Code changes also increased
dynamic size of sleep(1).
|
|
|
|
|
|
|
|
|
|
|
|
| |
Preserve older desired behavior, accept [+-]*[0-9]*\.[0-9]*
Remove a few unnecessary casts.
%ls -l /bin/sleep
-r-xr-xr-x 1 root wheel 61332 Oct 28 05:16 /bin/sleep
%ls -l /usr/obj/usr/src/bin/sleep/sleep
-rwxr-xr-x 1 root wheel 19124 Nov 13 12:12 /usr/obj/usr/src/bin/sleep/sleep
Submitted by: Tim Kientzle <kientzle@acm.org>
|
|
|
|
|
|
|
|
|
| |
Before...
-r-xr-xr-x 1 root wheel 58636 Oct 28 05:16 /bin/echo
After...
-rwxr-xr-x 1 root wheel 12824 Nov 12 17:39 /usr/obj/usr/src/bin/echo/echo
Submitted by: Tim Kientzle <kientzle@acm.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Gracefully handle the case where standard input is missing
a newline at EOF.
- Exit with status 1 instead of -1 (really 255) on error.
- Add a Diagnostics section to the manual page documenting
exit status.
Approved by: rwatson
|
|
|
|
|
|
|
|
| |
listings if the file has an extended ACL (more than the required 3 entries).
This is what Solaris and IRIX do, and what the withdrawn POSIX.2c standard
required.
Reviewed by: rwatson (an earlier version of the patch)
|
|
|
|
| |
to match that.
|
|
|
|
|
|
|
| |
o Remove static function uuid_print(); use uuid_to_string(3) in
combination with printf(3) to achieve the same,
o Remove unneeded includes,
o Add a reference to uuid(3) to the manpage.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
whether a named utility should behave in FreeBSD 4.x-compatible mode
or in a standard mode (default standard). The configuration is done
malloc(3)-style, with either an environment variable or a symlink.
Update expr(1) to use this new interface.
|
|
|
|
| |
consumption.
|
|
|
|
|
|
|
|
|
|
| |
object to retrieve label information on, rather than directly
consuming the fts-provided paths (none of which are quite right).
This is based on the similar readlink() code, and may contain
the same bugs.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
|
|
|
|
|
|
|
|
|
|
| |
than the LOMAC-specific interfaces for listing MAC labels. This permits
ls to view MAC labels in a manner similar to getfmac, when ls is used
with the -l argument. Next generation LOMAC will use the MAC Framework
so should "just" work with this and other policies. Not the prettiest
code in the world, but then, neither is ls(1).
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
|
|
|
|
|
|
|
|
|
| |
the LOMAC-specific interface (which is being deprecated). The
revised LOMAC using the MAC framework will export levels listable
using this mechanism.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
| |
|
|
|
|
| |
about the type of argv.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
as `?' or `\ooo', depending on whether the -b or -B flags were used.
PR: 43995
MFC after: 1 month
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
|
| |
appropriate. Before this, a 2.9 GB file was misleadingly reported as
"2G". This mostly brings unit_adjust() in line with what is in du(1).
Reviewed by: jmallett
Approved by: nik
|
|
|
|
| |
for ages, and no-one seems to have noticed. Viva PAM!
|
|
|
|
|
|
|
|
| |
are later stripped with rmescapes() in expandarg(). If the filename has
already been unescaped, doing it again in rmescapes() can walk off the
end of the string, leading to memory corruption and eventually SIGSEGV.
Noticed by: kris
|
|
|
|
|
|
| |
reset with a call to va_start before each use of the va_list.
Obtained from: NetBSD
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
| |
free-memory-and-reuse-it-after. Correct both problems and
make rcp -r work again under /etc/malloc.conf -> AJ.
|
| |
|
|
|
|
|
|
| |
commands. Commands like "if then ... fi" and "while do ... done" are no
longer accepted. Bodies of compound commands are still allowed to be
empty, because even though POSIX does not allow them, most shells do.
|
|
|
|
|
|
|
| |
%qd to print struct stat.st_size. Remove WARNS=0 and WFORMAT=0 from
Makefile.
Tested on: alpha, sparc64, i386
|
|
|
|
|
|
|
|
|
| |
Instead use %ju and cast the argument.
WFORMAT=0 is still required in the Makefile because gcc warns about
some strftime() calls (I don't think this behaviour is useful.)
Tested on: sparc64, alpha, i386
|
|
|
|
|
|
| |
replaced by int instead of size_t.
Spotted by: fanf
|
|
|
|
|
|
|
| |
off_t is for offsets in files, and it is signed so it was no better
than the original type of int for avoiding warnings from broken lints,
except accidentally on machines like i386's where size_t is smaller
than off_t.
|
|
|
|
| |
MFC After: 1 week
|
| |
|
|
|
|
|
| |
using %td when we know that the number is between 0 and 9; mksyntax is a
build tool and needs to work on -stable.
|
| |
|
|
|
|
| |
in the previous commit.
|
|
|
|
|
| |
libc's vfprintf() that writes to a `struct output' instead of a file.
Inspired by NetBSD's similar changes (they used asprintf() instead).
|
|
|
|
| |
Tested on: alpha, i386, sparc64
|