| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
forkshell() after it has been freed. This caused mysterious behaviour
when anything but the first command in a pipeline tried to access the
terminal when the `junk' malloc() option was enabled (which is the default).
|
|
|
|
|
|
| |
suspended. This is a followup to rev. 1.51.
MFC after: 1 week
|
|
|
|
| |
Approved by: sheldonh (mentor)
|
|
|
|
|
|
|
|
| |
o Add argv[] boudary check.
PR: bin/40117
Reviewed by: silence on -audit
MFC after: 2 months
|
|
|
|
|
|
|
| |
raised by Lukas Ertl over symbolic link handling.
PR: 41576
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
(I skipped those in contrib/, gnu/ and crypto/)
While I was at it, fixed a lot more found by ispell that I
could identify with certainty to be errors. All of these
were in comments or text, not in actual code.
Suggested by: bde
MFC after: 3 days
|
|
|
|
|
|
|
| |
For example, >/dev/null && echo foo
Pointed out by: FUJISHIMA Satsuki
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Make getvfsbyname() take a struct xvfsconf *.
- Convert several consumers of getvfsbyname() to use struct xvfsconf.
- Correct the getvfsbyname.3 manpage.
- Create a new vfs.conflist sysctl to dump all the struct xvfsconf in the
kernel, and rewrite getvfsbyname() to use this instead of the weird
existing API.
- Convert some {set,get,end}vfsent() consumers to use the new vfs.conflist
sysctl.
- Convert a vfsload() call in nfsiod.c to kldload() and remove the useless
vfsisloadable() and endvfsent() calls.
- Add a warning printf() in vfs_sysctl() to tell people they are using
an old userland.
After these changes, it's possible to modify struct vfsconf without
breaking the binary compatibility. Please note that these changes don't
break this compatibility either.
When bp will have updated mount_smbfs(8) with the patch I sent him, there
will be no more consumers of the {set,get,end}vfsent(), vfsisloadable()
and vfsload() API, and I will promptly delete it.
|
|
|
|
|
|
| |
You cannot specify a raw IPv6 address for now.
MFC after: 1 week
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Reviewed by: freebsd-standards
PR: 40709
Submitted by: Edward Brocklesby <nighthawk@unrealircd.com>, johan
|
|
|
|
| |
system.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
the mtimes of a file. (This is probably only useful if you have
vfs.timestamp_precision set to something nonzero).
PR: 39163
Submitted by: Hal Burch <hburch@lumeta.com>
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
by the same name. This option makes the cd and pwd builtins behave physically
(as opposed to logically) by default.
Submitted by: fanf
|
|
|
|
| |
options.
|
|
|
|
| |
Suggested by: fanf
|
|
|
|
| |
Pointed out by: fanf
|
| |
|
|
|
|
|
|
|
| |
itself does that if you set EL_SIGNAL. Instead, set a flag and check it
before calling el_gets(). This is safer, but slower to respond to changes.
Pointed out by: mp
|
|
|
|
| |
libedit's idea of the window size.
|
|
|
|
|
| |
Obtained from: NetBSD
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
builtin command of the same name. This allows the key bindings for the
shell's line editor to be changed.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
PR: 7828
Suggested by: Daniel O'Connor <doconnor@gsoft.com.au>
Approved by: sheldonh (mentor)
MFC after: 2 weeks
|
|
|
|
|
| |
PR: 40386
MFC after: 2 weeks
|
|
|
|
|
|
| |
shell function and alias lookup. The -p option has been implemented, the
UPE -v and -V options have not. The old `command' command has been renamed
to `builtin'.
|
|
|
|
|
|
|
| |
sh(1)'s echo(1) builtin command.
PR: 32935, 40747
MFC after: 1 week
|
|
|
|
| |
don't support system that implement getcwd(3) with a pipe to /bin/pwd.
|
| |
|
|
|
|
|
|
| |
The pgrp member of struct job was declared as a short and could not store
every possible process group ID value, the rest of them were benign because
pid_t happens to be an int.
|
|
|
|
| |
by a signal the same as pdksh/bash/sh before rev. 1.34.
|
|
|
|
| |
src/contrib/gcc/c-format.c .
|
|
|
|
|
| |
PR: docs/33559
Submitted by: Marc Olzheim <marcolz@ilse.nl>
|
|
|
|
| |
before I made unlink use getopt().
|
|
|
|
|
|
|
| |
part of chmod(2) and sticky(8), but refer to those manpages instead.
PR: docs/35605
Submitted by: Gary W. Swearingen <swear@blarg.net>
|
|
|
|
|
|
|
|
| |
to the Makefile didn't affect this bug because WFORMAT only controls
higher- level format checking (not the -Wformat that is implicit in
-Wall).
Fixed a nearby printf format error that was benign and 3 nearby style bugs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2. Instead, open /dev/tty. This problem stopped commands in subshells from
being executed correctly if standard error was redirected.
PR: 36671
Obtained from: NetBSD (but simplified)
|
|
|
|
|
| |
many other parts of the shell are no longer compatible with this, and it
makes jobs.c quite cluttered with #ifdef's.
|
| |
|
|
|
|
| |
happy about it any more so change the usage to make buildworld work again.
|
|
|
|
| |
happy about it any more so change the useage so buildworld works again.
|
|
|
|
| |
Approved by: obrien, sheldonh (mentor).
|
|
|
|
|
|
|
| |
This was broken by rev. 1.16.
PR: 40334
MFC after: 1 week
|