| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
kill login shell on either "suspend/fg" or "stop $$/fg" for tcsh. Since
this bug occurse on -stable too, it is not kernel threads bug.
Submitted by: David Xu <bsddiy@yahoo.com>
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
| |
Spotted by: patrick@godloveya.com, naddy, -Wuninitialized
This segfaulted alpha and sparc64; i386 had this magically zeroed.
|
|
|
|
| |
-m option is specified; correct ENVIRONMENT section.
|
| |
|
|
|
|
|
|
|
|
| |
line of the pattern space is empty. Don't emit spurious newline when
EOF is reached with the `N' command.
Pointed out by: Oleg Osyka
MFC after: 1 week
|
|
|
|
|
|
| |
sysctl.h and I was depending on this namespace pollution.
Submitted by: jake
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
Noticed by: ru
|
| |
|
| |
|
|
|
|
|
| |
time_t, so do not use the latter as type when retrieving the variable
via libkvm. This should fix vmstat on sparc64.
|
|
|
|
|
| |
PR: bin/12939
Submitted by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
|
|
|
| |
output match the synopsis.
|
| |
|
| |
|
|
|
|
|
| |
This is real kernel bug (threads) and don't attempt to mask it by
workarounds to increase chances to fix it in the kernel.
|
|
|
|
|
|
| |
- Fix printf format errors.
Submitted by: bde
|
|
|
|
|
|
| |
holiday on 6 August. Since this claim isn't dependent on the weekday,
I have my strong doubts about the other locations too, but I can't
confirm, so I'm leaving them in.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
depend on namespace pollution in <signal.h>. (truss shouldn't be
using timevals anyway, since it was implemented long after timevals
were obsoleted by timespecs.)
|
|
|
|
|
|
|
|
|
| |
execve().
This could be done in a more general manner but it still wouldn't
be very pretty.
MFC after: 3 weeks
|
| |
|
| |
|
|
|
|
|
| |
PR: bin/25587 (in part)
MFC after: 3 weeks
|
|
|
|
|
| |
PR: bin/25587 (in part)
MFC after: 3 weeks
|
|
|
|
|
| |
PR: bin/25587 (in part)
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
to stop GCC emitting warnings about increased alignment requirements
which broke the build for sparc64.
Approved by: des
|
|
|
|
| |
Submitted by: bde
|
| |
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
| |
(1) errors from freopen were not reported correctly
(2) large files were not handled correctly
(3) read-only files broke things
MFC after: 1 week
|
|
|
|
| |
Obtained from: NetBSD (kleink, Aymeric Vincent)
|
|
|
|
| |
in the locale collating order as required by SUSv3.
|
|
|
|
|
| |
second string argument is more than one character in length in the way
required by SUSv3 (and the way GNU textutils and SVR4 do it).
|
|
|
|
|
|
| |
for a long time now.
Approved by: bde
|
|
|
|
|
|
|
| |
option. Warn about COPY being phased out. Restore the old method
of always comparing before installing: INSTALL="install -C".
Requested by: bde
|
| |
|
|
|
|
| |
unitialized variable" warning.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Define _KERNEL while including sys/time.h to get some function prototypes.
2) Add prototypes and ANSIify definitions.
3) Constness changes.
4) Remove register keyword.
5) Actually return a sensible value from main.
6) Make fread_tail take a void * instead of a char *.
7) Avoid a signedness warning by casting to a size_t. Should be safe
enough 'cos we also check for nonnegativity.
8) Be extra chummy with sigset_t rather than passing a struct to printf
and pretending it is an int.
|
| |
|
|
|
|
| |
be safe to cast it to a size_t before comparing it to a sizeof().
|
| |
|
|
|
|
| |
Minor constness changes.
|
| |
|