| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
according to POSIX. This fixes ZFS on Solaris testing.
Submitted by: Milan Cermak <Milan.Cermak@Sun.COM>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- slightly adjust code for style, sort headers.
- in sigqtest2, print received signals, to make it easy to see why test
failed.
- in sigqtest2, job_control_test(), cover a race by adding sleep after
child stopped itself to allow for SIGCHLD due to stop and exit to not
be coalesced.
MFC after: 2 weeks
|
|
|
|
|
| |
PR: misc/139409
Submitted by: gk
|
|
|
|
|
|
|
|
|
|
| |
This also fixes that trying to execute a non-regular file with a command
name without '/' returns 127 instead of 126.
The fix is rather simplistic: treat CMDUNKNOWN as if the command were found
as an external program. The resulting fork is a bit wasteful but executing
unknown commands should not be very frequent.
PR: bin/137659
|
|
|
|
| |
Sponsored by: Google
|
| |
|
|
|
|
|
| |
consistent updated the name of the variable as well, after the change
in r197711.
|
|
|
|
|
|
|
|
|
| |
Due to the amount of code removed by this, it seems that allowing unmatched
quotes was a deliberate imitation of System V sh and real ksh. Most other
shells do not allow unmatched quotes (e.g. bash, zsh, pdksh, NetBSD /bin/sh,
dash).
PR: bin/137657
|
|
|
|
|
|
|
|
|
|
| |
The most important test is the mapping fixed at address 0 depending on the
new sysctl.
Things will be updated and possibly converted to m4/.t style once the
details about the kernel patch will be shaken out.
Submitted by: simon (initial version)
|
| |
|
|
|
|
| |
but I'd prefert to have it here, so it won't get lost.
|
|
|
|
|
| |
does.
- Use %z to printf a size_t to fix compile on 64-bit platforms.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"The escape sequence '\n' shall match a <newline> embedded in
the pattern space."
It is unclear whether this also applies to a \n embedded in a
character class. Disable the existing handling of \n in a character
class following Mac OS X, GNU sed version 4.1.5 with --posix, and
SunOS 5.10 /usr/bin/sed.
Pointed by: Marius Strobl
Obtained from: Mac OS X
|
|
|
|
|
|
|
|
|
|
|
| |
of the y (translate) command.
"If a backslash character is immediately followed by a backslash
character in string1 or string2, the two backslash characters shall
be counted as a single literal backslash character"
Pointed by: Marius Strobl
Obtained from: Mac OS X
|
| |
|
| |
|
|
|
|
|
| |
Pointed by: Marius Strobl
Obtained from: Apple
|
|
|
|
|
|
| |
repo-copy hacks.
Remove the test-number prefix from the name of the output files,
so that new test cases can be easily added.
|
| |
|
|
|
|
| |
error messages.
|
| |
|
|
|
|
| |
sure we don't crash on attempt to set ACL on them.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Empty pairs of braces are represented by a NULL node pointer, just like
empty lines at the top level.
Support for empty pairs of braces may be removed later. They make the code
more complex, have inconsistent behaviour (may or may not change $?), are
not specified by POSIX and are not allowed by some other shells like bash,
dash and ksh93.
Reported by: kan
|
|
|
|
| |
(Trying to get syntax errors for sh -c ':; do' and `:; do`.)
|
| |
|
|
|
|
|
|
|
|
| |
Add a reference count to function definitions.
Memory may leak if multiple SIGINTs arrive in interactive mode,
this will be fixed later by changing SIGINT handling.
PR: bin/137640
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make regression/priv compile again after the multi-IP jail
changes. Note that we are still using the legacy jail(2)
rather than the jail_set(2)/jail(3) syscall.
Add an IPv4, and an IPv6 loopback address in case we compile
with INET6 enabled.
Make the priv_vfs_extattr_system compile on amd64 as well using the
proper length modifier to printf(3) for ssize_t.
Reviewed by: rwatson
Approved by: re (kib)
|
|
|
|
|
| |
Submitted by: bde
Approved by: re (kensmith)
|
|
|
|
|
|
|
| |
and recorded results for several operating systems.
Submitted by: bde
Approved by: re (kensmith)
|
|
|
|
|
|
|
| |
PR: 136383
Submitted by: Ulrich Spoerlein - uqs at spoerlein dot net
Approved by: re (kib)
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
| |
display '+' on them. Taken from kern/125613, with cosmetic
changes.
PR: kern/125613
Submitted by: Jaakko Heinonen <jh at saunalahti dot fi>
Approved by: re (kib)
|
|
|
|
| |
Approved by: ed (mentor) (implicit)
|
|
|
|
|
|
| |
Also document various properties of special builtins that we implement.
Approved by: ed (mentor) (implicit)
|
|
|
|
|
| |
Submitted by: Eygene Ryabinkin
Approved by: ed (mentor) (implicit)
|
|
|
|
| |
Approved by: ed (mentor) (implicit)
|
|
|
|
| |
so that we need to do segmentation.
|
|
|
|
| |
Approved by: ed (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
any open file descriptors >= 'lowfd'. It is largely identical to the same
function on other operating systems such as Solaris, DFly, NetBSD, and
OpenBSD. One difference from other *BSD is that this closefrom() does not
fail with any errors. In practice, while the manpages for NetBSD and
OpenBSD claim that they return EINTR, they ignore internal errors from
close() and never return EINTR. DFly does return EINTR, but for the common
use case (closing fd's prior to execve()), the caller really wants all
fd's closed and returning EINTR just forces callers to call closefrom() in
a loop until it stops failing.
Note that this implementation of closefrom(2) does not make any effort to
resolve userland races with open(2) in other threads. As such, it is not
multithread safe.
Submitted by: rwatson (initial version)
Reviewed by: rwatson
MFC after: 2 weeks
|
|
|
|
| |
Approved by: ed (mentor)
|
| |
|
|
|
|
|
|
| |
Strange, isn't it?
Pointed out by: bde
|
| |
|
|
|
|
|
|
| |
same fcntl lock.
Approved by: dfr (mentor)
|
| |
|
| |
|
|
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
format strings.
PR: bin/127514
Submitted by: edwin@
MFC after: 1 week
|