wiz
95f9af9926
Apply patch from PR 23990 by Greg Troxel (s/AF_DLI/AF_LINK/ in a comment):
...
<net/if_dl.h> defines struct sockaddr_dl. On the line defining member
"sdl_family" (which overlaps "sa_family" in struct sockaddr), the
comment says AF_DLI.
But,
1) AF_DLI is said to be a DEC Direct data link interface
(sys/socket.h)
2) The kernel actually sends sockaddr_dl structs with AF_LINK.
2004-11-20 00:53:13 +00:00
christos
09ad64e21f
check for getnameinfo error correctly; thanks to Peter Postma.
2004-11-19 22:05:23 +00:00
christos
2488a0bc35
bump for libutil.
2004-11-19 21:48:30 +00:00
christos
e1816fa337
Use sockaddr_snprintf()
2004-11-19 21:43:40 +00:00
christos
ccd2e5bea8
use sockaddr_snprintf()
2004-11-19 21:41:25 +00:00
christos
52dcabadf5
Add sockaddr_snprintf()
2004-11-19 21:39:03 +00:00
christos
6afa3d6f72
Regression test for sockaddr_snprintf
2004-11-19 21:38:25 +00:00
christos
eb6484700a
Add sockaddr_snprintf; XXX: Needs a man page.
2004-11-19 21:37:19 +00:00
snj
8ff9670d60
Remove a superfluous word. From David Krinsky in PR bin/28358.
2004-11-19 21:19:24 +00:00
wiz
c1c81c7612
Sort options in usage, add missing "]" (OpenBSD v1.38).
2004-11-19 20:52:10 +00:00
wiz
d0b9170efe
Sort option descriptions (OpenBSD v1.42).
2004-11-19 20:51:34 +00:00
wiz
4483c473cb
Make HTML-save.
2004-11-19 18:48:43 +00:00
wiz
6c1d7355a3
Fix typo, and make HTML-save.
2004-11-19 18:48:29 +00:00
wiz
1dae5724d8
-u changed to -U when porting from FreeBSD; update comment.
2004-11-19 18:48:18 +00:00
wiz
a65671d259
Remove some whitespace.
2004-11-19 18:41:00 +00:00
jmmv
dcfa2c4905
Fix typo in previous commit that was breaking the build (hi, tacha@!).
2004-11-19 17:59:09 +00:00
ginsbach
0211645da7
* Don't allow accounts with age expired passwords to login. Any account
...
that is required to change their password will not be allowed FTP
access. Inspired by similar functionality in other FTP daemons.
(approved by lukem)
* Crank version to 20041119 per lukem's request.
2004-11-19 16:03:58 +00:00
peter
5dc9788b36
Fix a typo, dependancy -> dependency
...
ok wiz@
2004-11-19 14:18:53 +00:00
peter
e8ec0dc16f
id(1) -p supports optional [user] arg;
...
from matthew clarke via OpenBSD
ok wiz@
2004-11-19 14:18:01 +00:00
christos
6b2a6f8a02
Be a bit more careful with errors; if you cannot find the pty to stat for
...
time, then report ? instead of the previous random contents of struct stat.
2004-11-19 13:17:06 +00:00
tacha
f2ffe49e42
Add support for Broadcom BCM5705K.
2004-11-19 10:17:17 +00:00
tacha
a7c87301d7
regen.
2004-11-19 10:01:20 +00:00
tacha
1e152ddcc3
add Broadcom BCM5705K.
2004-11-19 09:58:42 +00:00
skrll
ca5b73a7e3
Fix syntax error from 1.9. I guess IPKDB isn't used very much...
2004-11-19 07:59:53 +00:00
atatat
6c33fa80f0
Don't call ptyfs_time() with stack garbage. It makes the times look
...
funny. I was getting stuff somewhere around 1939, but that's where my
kernel is.
2004-11-19 04:42:45 +00:00
thorpej
f30d060939
We have to read the config file the first time after we allocate the
...
kqueue descriptor, because we set up events after we parse the file.
Unfortuntately, this means that we also have to do the chroot before
we read the config file. But this is OK -- the config file has to be
in the chroot environment anyway, because it has to be able to get to
it after SIGHUP.
Grrr, all because stupid kqueue descriptors are not inherited across
a fork. LAME.
2004-11-19 02:51:18 +00:00
thorpej
45e1304451
Note syslogd improvements.
2004-11-19 02:19:58 +00:00
thorpej
83f70aba69
Merge the thorpej-syslogd-hack-branch down to the trunk. Enhancements
...
include:
- Extend the syntax of syslog.conf to allow selections of log destinations
by comma-separated lists of program name (including kernel-generated
messages) and originating host name.
- Ability to pipe selected messages through arbitrary filter commands.
- Ability to specify priority comparison operations.
- Improvements to domain name handling.
- Conversion to use kqueue for communication and signal events, eliminating
all unsafe signal handlers.
- Allow spaces as well as tabs in syslog.conf.
- Log kernel printfs at LOG_NOTICE instad of LOG_CRIT.
- Ability to log facility/priority with a log message.
- Reliability improvements.
2004-11-19 02:18:11 +00:00
matt
e27c3887b6
If setfault() returns nonzero (ie, we trapped), make sure to unsetusr.
2004-11-18 22:56:32 +00:00
yamt
ba757a5f9b
pf(4): PF from OpenBSD 3.5 imported [itojun 20040622]
...
pf(4): PF from OpenBSD 3.6 imported [yamt 20041114]
reminded by by wiz@.
2004-11-18 22:32:49 +00:00
yamt
3950068640
iojun -> itojun
2004-11-18 22:28:49 +00:00
bouyer
3d94454016
Some drives reports ATA version < 4, and still support (and need) the
...
WDCC_FLUSHCACHE command. So for drive < ATA4, test WDC_CMD2_FC in atap_cmd_set2
before returning ENODEV.
Problem reported and fix tested by Michael Gerhards on port-sparc64.
2004-11-18 22:14:53 +00:00
heas
0affebe7a1
Note Postfix 2.1.5.
...
Thanks wiz.
2004-11-18 21:29:43 +00:00
matt
589ef8f06a
Make sure to do setenv/unsetenv in pairs. This prevents panics in
...
DIAGNOSTIC kernel when crossing segment boundaries.
2004-11-18 21:09:37 +00:00
wiz
4692c6e1e8
Put obsolete files in the *-obsolete sets instead of whatever they
...
were in before they became obsolete (consistency).
2004-11-18 15:34:23 +00:00
kent
b285c03873
getdevinfo():
...
If a mixer item does not match with AudioNsomething, check whether
it ends with '.' + AudioNsomething. PR#15441
2004-11-18 14:02:42 +00:00
wiz
7913b43af5
Fix typo in error message, reported by Nicolas Joly in PR 28347.
2004-11-18 12:00:18 +00:00
hubertf
33c4eac6f2
Remove (wrong?) default for minfree, xref newfs.8 instead.
...
Suggested by Ignatios.
2004-11-18 00:11:48 +00:00
matt
d0560e80c6
When adding text due to an a, c, or i command, don't eat the space(s) at
...
the beginning of the lines since the addition is supposed to be "verbatim".
Fix a comment for compile_text indicating it's also used for the 'c' command.
2004-11-17 22:17:54 +00:00
mycroft
75a40767d0
Print some future timestamps with HH:MM rather than YYYY, so that we get
...
something reasonable if we're using a file server whose time is slightly
ahead.
2004-11-17 17:00:00 +00:00
yamt
039a1b5600
note about /usr/share/{i18n,locale,nls}
2004-11-17 16:56:16 +00:00
fvdl
08d19d088d
* don't swap the WDSMART_CYL value, it isn't needed
...
* swap the 16- and 32 bit fields of the SMART structures (where used)
Makes SMART commands work on big-endian systems.
2004-11-17 15:40:50 +00:00
kent
ca2819710c
implement auich_activate() and auich_detach()
2004-11-17 15:19:30 +00:00
kent
d1afddf792
make functions static as possible
2004-11-17 15:14:38 +00:00
wiz
68c05edc13
Update from http://www.iana.org/cctld/cctld-whois.htm via
...
Ossi Herrala in PR 26632.
2004-11-17 15:05:29 +00:00
wiz
9f522a4dd3
Merge single-letter options; sync order in man page and usage.
2004-11-17 14:57:48 +00:00
wiz
98b8f0e005
Sort options. Second part of PR 26533.
2004-11-17 14:54:47 +00:00
hira
5d59c3c005
usage: Add -d and -r. Use getprogname().
...
Reviewed by uebayasi@. This closes PR bin/26686.
2004-11-17 13:35:32 +00:00
hira
b1440f782d
usage: Add -d. Use getprogname().
...
Reviewed by uebayasi@. This closes PR bin/26685.
2004-11-17 13:32:16 +00:00
hira
c79d0a54ae
usage: Add -f and -m. Use getprogname(). Print to strerr.
...
Reviewed by uebayasi@. This closes PR bin/26535.
2004-11-17 13:28:31 +00:00