| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
ntp 4.2.8p5
Reviewed by: cy, roberto
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D4828
Notes:
svn path=/head/; revision=293423
|
|
|
|
|
|
|
| |
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=293345
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Similar fix was done for passwd and group operations in r285050. When a
temporary file is created and then renamed to replace official file there
are no checks to make sure data was written to disk and if a power cycle
happens at this time, system can end up with a 0 length file
Approved by: bapt
MFC after: 1 week
Sponsored by: Netgate
Differential Revision: https://reviews.freebsd.org/D2982
Notes:
svn path=/head/; revision=293312
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If you are getting your users/groups from a directory service such
as LDAP or AD it's possible for those usernames or groupnames to
contain spaces.
Submitted by: Sean E. Fagan
Reviewed by: rmacklem
MFC after: 1 week
Sponsored by: iXsystems
Notes:
svn path=/head/; revision=293305
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a bug in rpcbind for multihomed hosts. If the server had interfaces on
two separate subnets, and a client on the first subnet contacted rpcbind at
the address on the second subnet, rpcbind would advertise addresses on the
first subnet. This is a bug, because it should prefer to advertise the
address where it was contacted. The requested service might be firewalled
off from the address on the first subnet, for example.
usr.sbin/rpcbind/check_bound.c
If the address on which a request was received is known, pass that
to addrmerge as the clnt_uaddr parameter. That is what addrmerge's
comment indicates the parameter is supposed to mean. The previous
behavior is that clnt_uaddr would contain the address from which the
client sent the request.
usr.sbin/rpcbind/util.c
Modify addrmerge to prefer to use an IP that is equal to clnt_uaddr,
if one is found. Refactor the relevant portion of the function for
clarity, and to reduce the number of ifdefs.
etc/mtree/BSD.tests.dist
usr.sbin/rpcbind/tests/Makefile
usr.sbin/rpcbind/tests/addrmerge_test.c
Add unit tests for usr.sbin/rpcbind/util.c:addrmerge.
usr.sbin/rpcbind/check_bound.c
usr.sbin/rpcbind/rpcbind.h
usr.sbin/rpcbind/util.c
Constify some function arguments
Reviewed by: imp
MFC after: 4 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D4690
Notes:
svn path=/head/; revision=293229
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rework MANIFEST generation and parsing via bsdinstall(8).
- Allow selecting debugging distribution sets during install.
- Rework bsdinstall(8) to fetch remote debug distribution sets
when they are not available on the local install medium.
- Allow selecting additional non-GENERIC kernels during install.
At present, GENERIC is still required, and installed by default.
Tested with: head@r293203
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=293223
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set _PATH_DEFPATH to
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin. This is the
path in the default class in the default /etc/login.conf,
excluding ~/bin which would not be expanded properly in a string
constant.
For normal logins, _PATH_DEFPATH is overridden by /etc/login.conf,
~/.login_conf or shell startup files. _PATH_DEFPATH is still used as a
default by execlp(), execvp(), posix_spawnp() and sh if PATH is not set, and
by cron. Especially the latter is a common trap (most recently in PR
204813).
PR: 204813
Reviewed by: secteam (delphij), alfred
Notes:
svn path=/head/; revision=293204
|
|
|
|
|
|
|
|
|
|
|
| |
Refer to the old names nl, np, ns as historical aliases.
PR: 205776, 205778
MFC After: 1 week
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=293055
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When gssd exits it leaves the kernel state set by
gssd_syscall(). nfsd sees this and waits endlessly
in an unkillable state for gssd to come back. If you
had acidentally started gssd then stopped it, then
started nfsd you'd be in a bad way until you either
restarted gssd or rebooted the system. This change
fixes that by setting the kernel state to "" when
gssd exits.
Reviewed by: rmacklem
MFC after: 1 week
Sponsored by: iXsystems
Notes:
svn path=/head/; revision=293043
|
|
|
|
| |
Notes:
svn path=/head/; revision=292982
|
|
|
|
|
|
|
|
|
| |
Reviewed by: grehan
Approved by: rodrigc (mentor)
Differential Revision: https://reviews.freebsd.org/D4734
Notes:
svn path=/head/; revision=292981
|
|
|
|
|
|
|
|
| |
Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D4736
Notes:
svn path=/head/; revision=292971
|
|
|
|
|
|
|
|
|
| |
Reviewed by: grehan
Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D4735
Notes:
svn path=/head/; revision=292970
|
|
|
|
|
|
|
|
|
|
|
|
| |
by accident
MFC after: 3 days
Pointyhat to: ngie
Reported by: vangyzen
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=292884
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is rather pedantic, as for most architectures it holds that
sizeof(type *) == sizeof(type **)
Found by: clang static analyzer
Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D4722
Notes:
svn path=/head/; revision=292864
|
|
|
|
| |
Notes:
svn path=/head/; revision=292849
|
|
|
|
| |
Notes:
svn path=/head/; revision=292847
|
|
|
|
| |
Notes:
svn path=/head/; revision=292846
|
|
|
|
|
|
|
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D3933
Submitted by: jmg
Reviewed by: delphij, markm
Approved by: secteam (delphij)
MFC after: 3 days
X-MFC-to: stable/10 stable/9
Notes:
svn path=/head/; revision=292832
|
|
|
|
|
|
|
|
| |
Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D4716
Notes:
svn path=/head/; revision=292829
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dp that opens the database with PERM_INSECURE, so we need to check sdp->put
against sdp instead of use dp->put.
PR: bin/191720
Submitted by: Miles Ohlrich <turingsboy@yahoo.com>
Approved by: rodrigc (mentor)
Differential Revision: https://reviews.freebsd.org/D4255
Notes:
svn path=/head/; revision=292828
|
|
|
|
|
|
|
|
|
|
| |
Approved by: bapt (mentor)
MFC after: 1 week
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D4710
Notes:
svn path=/head/; revision=292757
|
|
|
|
| |
Notes:
svn path=/head/; revision=292687
|
|
|
|
|
|
|
| |
Pointyhat: me
Notes:
svn path=/head/; revision=292608
|
|
|
|
|
|
|
|
| |
Fix inspired by: OpenBSD (rev 1.56)
CID: 1009830
Notes:
svn path=/head/; revision=292607
|
|
|
|
|
|
|
|
|
|
| |
This should close memory leak.
Obtained from: OpenBSD (rev. 1.62)
CID: 271773
Notes:
svn path=/head/; revision=292606
|
|
|
|
|
|
|
| |
Obtained from: OpenBSD (Rev 1.20)
Notes:
svn path=/head/; revision=292605
|
|
|
|
|
|
|
|
|
|
|
|
| |
if the memory wasn't allocated again later on
Reported by: Coverity
Submitted by: Miles Ohlrich <miles.ohlrich@isilon.com>
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=292585
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 200746
Submitted by: Emmanuel Vadot <manu bidouilliste com>
Reviewed by: allanjude
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D4452
Notes:
svn path=/head/; revision=292580
|
|
|
|
|
|
|
|
|
|
|
| |
has eliminated alignment and endian problems that were making it fail on
some platforms.
PR: 180438
PR: 189415
Notes:
svn path=/head/; revision=292553
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=292549
|
|
|
|
| |
Notes:
svn path=/head/; revision=292465
|
|
|
|
|
|
|
|
| |
Submitted by: luke <luke.tw@gmail.com>
Pointy hat to: jhb
Notes:
svn path=/head/; revision=292443
|
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD local name resolution.
If /var/yp/ipnodes exists, we generate them from it for backward
compatibility.
Inspired by: NetBSD
MFC after: 1 week
Notes:
svn path=/head/; revision=292441
|
|
|
|
|
|
|
|
|
| |
- Add comment how we handle hosts and ipnodes. (from NetBSD)
MFC after: 1 week.
Notes:
svn path=/head/; revision=292435
|
|
|
|
|
|
|
|
|
|
|
| |
current MBR.
PR: 205322
Submitted by: Alexander Kuleshov <kuleshovmail@gmail.com>
MFC after: 1 week
Notes:
svn path=/head/; revision=292410
|
|
|
|
| |
Notes:
svn path=/head/; revision=292337
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before the change, things like lle state were queried via
SIOCGNBRINFO_IN6 by ndp(8) for _each_ lle entry in dump.
This ioctl was added in 1999, probably to avoid touching rtsock code.
This change maps SIOCGNBRINFO_IN6 data to standard rtsock dump the
following way:
expire (already) maps to rtm_rmx.rmx_expire
isrouter -> rtm_flags & RTF_GATEWAY
asked -> rtm_rmx.rmx_pksent
state -> rtm_rmx.rmx_state (maps to rmx_weight via define)
Reviewed by: ae
Notes:
svn path=/head/; revision=292333
|
|
|
|
|
|
|
| |
Approved by: bapt (mentor implicit)
Notes:
svn path=/head/; revision=292273
|
|
|
|
|
|
|
|
|
| |
Approved by: bapt (mentor)
Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D4549
Notes:
svn path=/head/; revision=292272
|
|
|
|
|
|
|
|
|
| |
Approved by: bapt (mentor)
Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D4548
Notes:
svn path=/head/; revision=292271
|
|
|
|
|
|
|
|
|
| |
Approved by: bapt (mentor)
Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D4547
Notes:
svn path=/head/; revision=292270
|
|
|
|
|
|
|
| |
Sponsored by: Gandi.net
Notes:
svn path=/head/; revision=292262
|
|
|
|
|
|
|
|
|
| |
PR: 202929
Submitted by: jhs@berklix.com
MFC after: 1 week
Notes:
svn path=/head/; revision=292212
|
|
|
|
| |
Notes:
svn path=/head/; revision=292122
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rework stat2ascii preparing a buffer of what could be printed. This prevent the
risk of overflowing a static buffer.
Do not print those informations anymore in the "status" but into a new
"extra status" only printed if there are actually extra things to print.
Now add those extra informations:
* Thermal sensor temperature
* Cooling devices speed
* Voltage sensors, current consumption
Tested by: AllanJude
Sponsored by: Gandi.net
Differential Revision: https://reviews.freebsd.org/D4520
Notes:
svn path=/head/; revision=292121
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=292106
|
|
|
|
|
|
|
|
|
| |
element of the ses.
Sponsored by: Gandi.net
Notes:
svn path=/head/; revision=292093
|
|
|
|
|
|
|
| |
Sponsored by: Gandi.net
Notes:
svn path=/head/; revision=292092
|
|
|
|
|
|
|
|
|
|
| |
modules, simplify them into a more normal form and write them to
linker.hints.
Differential Review: https://reviews.freebsd.org/D3461
Notes:
svn path=/head/; revision=292078
|