Matteo Riondato
df18f9cc99
Make rpc.statd INET* indipendent by converting sockaddr_in structures
...
to sockaddr ones and using svc_getrpccaller instead of svc_getcaller.
A similar patch was committed to rpc.lockd back in 2002 .
PR: bin/42004
MFC after: 1 week
2007-04-02 18:59:48 +00:00
Chin-San Huang
18ecc1de7a
- Fix typo in ntpd(8).
...
Noticed by: Ben Kaduk (minimarmot _at_ gmail.com)
Approved by: delphij@ (mentor)
2007-04-02 04:18:49 +00:00
Mark Murray
7e8409a7a9
Add -m (megabytes) and -g (gigabytes) options. I'm tired of being told
...
I can't do this.
MFC: 1 month
2007-04-01 20:28:37 +00:00
Lukas Ertl
1b692a8c44
Do the right thing with symlinks in the skeleton directory.
...
PR: bin/63659
2007-03-30 13:18:52 +00:00
Lukas Ertl
e57f8ca5cd
Accept passwords which contain whitespace.
...
PR: bin/53434
2007-03-30 12:57:25 +00:00
Lukas Ertl
85204142eb
Add home directory creation mode to pw.conf(5) and be a bit
...
more specific about the effect of the current umask on -M.
2007-03-30 11:23:10 +00:00
Lukas Ertl
1dd634b049
Add -M argument to usage() output.
2007-03-30 10:02:47 +00:00
Gleb Smirnoff
611619b338
The last change is not needed for HEAD.
...
Explained by: ru
2007-03-30 08:23:59 +00:00
Dag-Erling Smørgrav
c8113770e8
Deterministically set the default refresh interval to one second.
...
Approved by: phk
MFC after: 1 week
2007-03-29 07:23:49 +00:00
Gleb Smirnoff
3cb88013ba
Do not build the libedit support if NO_LIBPTHREAD is defined.
...
PR: bin/104478
Submitted by: Mike Durian <durian shadetreesoftware.com>
2007-03-28 14:04:35 +00:00
Gleb Smirnoff
a090f21663
net.link.ether.inet.prune_intvl no longer exists.
2007-03-28 11:06:50 +00:00
Nate Lawson
92931013f6
Make consistent with style(msmith). 4 spaces indent, tab for each 2 indents.
2007-03-28 05:33:52 +00:00
Takanori Watanabe
87f9f09a13
Correct HPET header handling.
...
MFC after: 7 days
2007-03-27 17:03:52 +00:00
Lukas Ertl
eebbeceec9
Introduce the new option -M to allow to set the permissions of
...
the user's newly created home directory. If omitted, it's derived
from the current umask.
PR: bin/16880, bin/83253 (partially), bin/104248
MFC in: 1 month
2007-03-26 23:29:20 +00:00
Lukas Ertl
a80d527f45
Check if the new user already exists right after entering the
...
username instead of watching the final call to pw(8) fail.
2007-03-26 22:22:10 +00:00
Matteo Riondato
793a8b5fd4
remove WARNS=2: we're not ready for it yet.
2007-03-23 22:09:02 +00:00
Matteo Riondato
69298755a5
Make sysinstall's code WARNS=2 clean .
...
MFC after: 1 week
2007-03-23 19:57:27 +00:00
Jung-uk Kim
2be4e4713a
Catch up with ACPI-CA 20070320 import.
2007-03-22 18:16:43 +00:00
Bruce M Simpson
aa727a5535
Use -M and -N for core and kernel image respectively.
2007-03-20 02:08:28 +00:00
Bruce M Simpson
cb48db9cf8
Make clean for !INET6.
...
Remove non-FreeBSD code.
Sort includes.
2007-03-19 18:13:02 +00:00
Bruce M Simpson
1048e6755f
Merge latest ifmcstat (with changes for FreeBSD).
...
Possibly merge or split with netstat -g.
TODO: Make !defined(INET6) clean.
TODO: Add -M/-N instead of -k.
TODO: Use sysctls instead of kvm.
Obtained from: KAME
MFC after: 2 weeks
2007-03-19 16:45:06 +00:00
Christian Brueffer
1bc7218621
One more s/ethernet/Ethernet/ I missed in the previous revision.
2007-03-19 16:36:34 +00:00
Tom Rhodes
e6d4b388b9
Improve previous commit by using setusercontext(3) and removing the group
...
option. Bump doc date for manual page changes.
Reviewed by: rwatson, ru, will (older version)
2007-03-19 12:12:53 +00:00
Simon L. B. Nielsen
ffd07a5307
Update postfix MTA selection code to point at postfix 2.3 which is the
...
current version.
PR: misc/110447
Submitted by: Chris Fletcher <fletch.AT.brightsparks.net.au>
MFC after: 1 week
2007-03-17 16:43:28 +00:00
Christian Brueffer
bd922f4060
- Add cxgb(4) entry, remove stale wx(4) entry
...
- (gigabit|fast) ethernet -> (Gigabit|Fast) Ethernet
Approved by: rwatson (mentor)
MFC after: 3 days
2007-03-16 12:56:20 +00:00
Pawel Jakub Dawidek
e651144614
Imagine a situation where:
...
# ls -ld /mnt/{foo,bar}
drwxr-xr-x 3 root wheel 512 Mar 16 06:56 /mnt/bar
lrwxr-xr-x 1 root wheel 3 Mar 16 12:10 /mnt/foo -> bar
# grep /mnt/foo /etc/fstab
/dev/da1 /mnt/foo ufs rw 0 0
Which means, we give symbolic link as a mount point to mount(8), but mount(8)
use realpath(3) before mounting the file systems, so we get:
# mount | grep /dev/da1
/dev/da1 on /mnt/bar (ufs, local)
Before the commit:
# snapinfo /mnt/foo
usage: snapinfo [-v] -a
snapinfo [-v] mountpoint
# snapinfo /mnt/bar
/mnt/bar/snap
This commit makes snapinfo(8) to first realpath(3) the given mount point and
now we have:
# snapinfo /mnt/foo
/mnt/bar/snap
# snapinfo /mnt/bar
/mnt/bar/snap
2007-03-16 12:36:54 +00:00
Pawel Jakub Dawidek
b51126da52
Pass special device to the ufs_disk_fillout() function, instead of mount
...
point path. This way we properly handle the case when file system listed
in /etc/fstab was unmounted and another file system was mounted on the
same mount point.
2007-03-16 03:23:32 +00:00
Kevin Lo
851f70328e
In auth_script(), change the size of an array to match the number of
...
arguments.
2007-03-15 09:16:54 +00:00
Kip Macy
e35180e8ed
fix include names
2007-03-15 04:09:40 +00:00
Nate Lawson
ceb8cd6464
Document exact command preferred for sending ASL as part of bug reports.
2007-03-14 22:55:30 +00:00
Kip Macy
e0499fbd1a
Add administration and debugging tool for Chelsio T3 10 Gigabit Ethernet driver
2007-03-14 02:51:57 +00:00
Philip Paeps
86b3ea3634
Add dynamic acceleration to moused(8). This introduces a '-A' flag to control
...
the acceleration algorithm. It can be used together with the '-a' flag for
regular acceleration.
PR: bin/110003
Submitted by: Oliver Fromme <olli -at- lurza.secnetix.de>
MFC after: 1 week
2007-03-11 20:02:26 +00:00
David Malone
7149ee1696
Don't try to apply connection-per-ip rate limiting to unix domain
...
sockets. Instead of rejecting all unix domain connections when the
-C flag is given, allow them instead. Aragon tested an earlier
version of the patch.
PR: 109315
MFC after: 2 weeks
Tested-by: Aragon Gouveia <aragon@phat.za.net>
2007-03-11 16:30:49 +00:00
Soeren Straarup
7b8287fb85
! is a generic info message
...
Reviewed by: harti
Approved by: harti
MFC after: 2 weeks
2007-03-09 16:29:15 +00:00
Tom Rhodes
15543aadb3
Initialize *pfh to NULL to quiet a gcc warning, not part of my original
...
commit because it was not part of the new code.
2007-03-09 09:40:23 +00:00
Tom Rhodes
12d7249e24
Add support for dropping privileges to a specified user and/or group.
...
PR: 108523
Submitted by: Dmitri Alenitchev <dmitri@dworlds.ru> (original version)
Reviewed by: mpp (first reply to PR)
2007-03-09 09:33:19 +00:00
Bruce M Simpson
699aa68bc3
Reduce WARNS count due to alignment warning on ia64.
2007-03-09 01:00:05 +00:00
Bruce M Simpson
a93c238264
Merge a slightly cleaner and SSM capable mtest(8).
...
Submitted by: Wilbert De Graaf
MFC after: 1 month
2007-03-08 18:56:37 +00:00
Will Andrews
2ba44ac557
Fix a bug where HOME was not allowed to be overridden by an user's crontab
...
as crontab(5) states it can be. This is supported by all vixie-cron derived
implementations; not sure why FreeBSD was any different.
PR: bin/106442
MFC after: 2 weeks
2007-03-08 07:00:42 +00:00
Kevin Lo
19c7ed845e
Use setresuid for simple privilege dropping.
2007-03-08 03:49:23 +00:00
Ruslan Ermilov
d73d2e1de2
Invoke tar(1) with the -p option when installing a package
...
from an URL (i.e., do it the same way as when installing
from a file). This fixes the lossage of the setuid bits.
It wasn't a problem before because GNU tar(1) implied the
-p option for root, but BSD tar(1) doesn't do that.
Discussed with: tobez and some advanced users :)
2007-03-06 14:54:45 +00:00
Kevin Lo
d069140339
Use sizeof() for calculating the buffer size instead of hard-coded values.
2007-03-06 09:32:41 +00:00
Ruslan Ermilov
3fa28f5447
The use of predefined strings such as \*[Ge] can be harmful here,
...
as some fonts (e.g., KOI8-R) have special symbols for displaying
them, and we want symbols ">=" literally here.
2007-03-04 13:30:02 +00:00
Ruslan Ermilov
d5cb5b379c
Fix markup and clean up some of the wording.
...
(This English was hard to translate as it uses a language that is
far from a pure technical. It would definitely benefit from a
revision.)
2007-03-04 13:14:41 +00:00
Colin Percival
2c434b2cc3
Fix problems resulting from SMP kernels (mis-)identifying themselves as
...
"SMP-GENERIC" (i386) or "GENERIC" (amd64).
FreeBSD 6.2 Errata candidate.
MFC after: 3 days
Pointy hat to: cperciva
2007-03-04 00:29:42 +00:00
Greg Lehey
7e2e58c4c8
Clarify the meaning information printed by the -o option.
...
Clean up grammar, adding articles.
2007-03-03 03:50:59 +00:00
Hajimu UMEMOTO
a404ab168e
Check the return value from rad_cvt_ipv6prefix().
...
PR: bin/89808
MFC after: 1 week
2007-03-01 16:13:56 +00:00
Juli Mallett
a905106075
Increase helpfulness in diagnostic message - ypbind running without -ypset or
...
-ypsetme will prevent use of ypset. Remind the user to check that it was
started correctly.
2007-02-28 22:49:12 +00:00
Ruslan Ermilov
98d8b7924f
Fix a nit noticed during translation.
2007-02-28 10:24:34 +00:00
Ceri Davies
6c11797498
Use the RB_AUTOBOOT define over 0.
...
Approved by: ru (mentor)
2007-02-23 21:15:14 +00:00