| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
A field width in printf(3) must be int, so cast return value from strlen()
to the type.
Noticed by: Andrzej Tobola <ato iem pw edu pl>; tinderbox
Pointy hat to: yar
X-MFC with: the rest of the new asf code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The improvements are:
- can get the kld info from core files via kvm(3);
- can use kldstat(2) directly, which is a piece of cake;
- can use .symbols or whatever, which allows for use by
non-developers when reporting system crashes -- now asf(8)
can be mentioned in the handbook at last;
- speed (no more double fts(3) per loaded module);
- various bugs fixed.
At the same time, the new asf(8) should stay compatible with
the old one, bar bugs. Perhaps some defaults may be changed
later to match today's state of affairs.
Reviewed by: grog
MFC after: 1 month
Sponsored by: RiNet (Cronyx Plus LLC)
|
| |
|
|
|
|
| |
English trainer: ceri
|
| |
|
|
|
|
|
|
| |
example code) [RFC3330].
Reviewed by: simon
|
|
|
|
|
| |
PR: bin/98625
MFC after: 1 month
|
| |
|
|
|
|
|
|
| |
PR: kern/86693
Submitted by: Victor Sudakov
MFC after: 1 month
|
|
|
|
|
|
| |
but not being with a hyphen, similar to adding_user.8.
PR: 35732
|
| |
|
|
|
|
|
|
|
|
| |
parameter to try to delete an NFS export. It won't work, and will log
a spurious warning to syslog.
Tested by: Arno J. Klaassen <arno at heho dot snv dot jussieu dot fr>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- K&R -> ANSI prototype [O]
- Do not bother to do free right before exit() or execve() [O]
- Remove some dead code in addarg()
- Make additional parameters specified in mailer.conf(5)
actually work and document the fact. [N]
- Avoid using __progname but instead use getprogname()
and setprogname() to provide more sensible messages. [O, N]
- Update $OpenBSD$ and $NetBSD$ to reflect the fact that we
have sync'ed with their code.
- WARNS=6
Obtained from/Inspired by: OpenBSD [O], NetBSD [N] (partially)
|
|
|
|
|
|
| |
PR: docs/98471
Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
MFC after: 1 day
|
|
|
|
|
|
|
|
| |
is more than one HCI node present
- Use errx(3) instead of err(3) if there is no HCI node present as errno
is 0 in this case and the resulting error message wouldn't make much sense
Approved by: emax (mentor)
|
|
|
|
|
|
|
|
| |
setgid(2), setlogin(2) and initgroups(3). In theory they could
fail for root with some third party mac(4) policies.
Submitted by: Kostik Belousov
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
Correct a bug in the handling of backslash characters in smbfs which can
allow an attacker to escape from a chroot(2). [2]
Security: FreeBSD-SA-06:15.ypserv [1]
Security: FreeBSD-SA-06:16.smbfs [2]
|
|
|
|
|
| |
Approved by: jhb
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
I considered leaving /boot/kernel out of the chflags noschg line, but I
seem to remember that there was a period where /boot/kernel was schg, so
have left it in for safety's sake.
Approved by: jhb
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
can read two variables at once; and suffix pattern deletion) to make the
extract command fork fewer processes.
With the portsnap snapshot and the ports tree in swap-backed memory
disks on my 1.4GHz laptop, this reduces 178800 processes and 195/56/126
seconds of real/user/sys time to 44600 processes and 103/34/60 seconds.
|
|
|
|
|
| |
This eliminates spurious log entries for trying to delete exports
for filesystems like devfs and procfs.
|
|
|
|
|
|
|
| |
jail is a very bad idea security wise.
Approved by: trhodes (jcamou mentor)
No response: jcamou
|
|
|
|
| |
MFC after: 3
|
|
|
|
| |
Obtained from: netbsd
|
|
|
|
| |
Obtained from: netbsd
|
|
|
|
|
|
|
|
| |
so that both parent and child processes ignore this signal.
PR: bin/97768
Submitted by: Gea-Suan Lin <gslin at csie dot nctu dot edu dot tw>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
We already check for write() failures and handle EPIPE.
Failure to handle SIGPIPE was resulting in rpc.lockd terminating.
PR: bin/97768
Reported by: Gea-Suan Lin <gslin at csie dot nctu dot edu dot tw>
MFC after: 1 day
|
| |
|
|
|
|
|
|
| |
and cd9660.
PR: bin/97642
|
|
|
|
|
|
|
|
|
| |
SRC_BASE package (src/[A-Z]*) as well as SRC_SYS (src/sys/*). This
allows users who only install the kernel source code to use the
modern "make buildkernel" approach.
Discussed with: re (scottl, kensmith)
MFC after: 3 days
|
|
|
|
| |
on ufs, cd9660, msdosfs, and ntfs, but not all dependencies.
|
|
|
|
|
|
|
|
|
| |
that the '-n' parameter is now optional
- Grammar fixes
Reviewed by: emax
Approved by: emax
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
parameter optional.
- Add Read_Node_List command which prints a list of available HCI nodes,
their Netgraph IDs and connected hooks
Reviewed by: emax
Approved by: emax
MFC after: 1 week
|
|
|
|
| |
Noticed by: maxim
|
|
|
|
|
| |
Reviewed by: phk, brueffer
Submitted by: Niclas Zeising <lothrandil@n00b.apagnu.se>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
expression, which makes it possible to only see interesting
providers. "f" is used inside gstat to set a filter, "F" is used to
remove current filter.
- Do not print some uninteresting values in the gstat title line.
- Do not print past the end of the screen.
- Read multiple keystrokes per "wait" when gstat is running.
- Remove a redundant != check, right after check of NULL against the
same variable ("gid").
- Use sysexits.h.
- Do not link against libkvm and libsbuf, they are not actually used.
- Fix a few style(9) issues where I had to touch nearby code anyway.
Approved by: cperciva (mentor)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
bin/95041: subnet mask mismatch.
PR: bin/95041
Obtained from: NetBSD
Tested by: Hans Lambermont
MFC after: 2 months
|
|
|
|
|
| |
PR: docs/79857
Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
|
| |
|
|
|
|
|
| |
Submitted by: Iain Hibbert
MFC after: 3 days
|
|
|
|
| |
Pointed out by: ceri
|
|
|
|
| |
Requested by: brooks
|
|
|
|
|
|
|
|
| |
Submitted by: Dan Lukes
Reviewed by: hm@
fix compile warnings in isdnd and isdntest. some more
compile time warnings also mentioned in this PR were
already fixed in an earlier commit today.
|
| |
|
|
|
|
|
| |
Reviewed by: maxim
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
When /usr/ports/foo/bar is a symlink pointing outside the tree, this
deletes the symlink instead of the directory it points to.
Requested by: delphij
|
| |
|
| |
|
|
|
|
|
|
|
| |
with non-root privileges.
PR: bin/80242
MFC after: 2 weeks
|
| |
|