Commit Graph

131831 Commits

Author SHA1 Message Date
yamt
548e34d26e pipe_direct_write: fallback to non-loan write in the case of
any errors from uvm_loan(), rather than only for ENOMEM, which is
never returned by uvm_loan().
2004-11-21 04:30:33 +00:00
darrenr
f3736130c9 Fix a regression from 3.4 behaviour where the destination of a redirect rule
could be either a hostname or an IP address (now it can only be an IP#)
2004-11-21 03:44:59 +00:00
christos
6845cdfbb8 fix the header. 2004-11-21 03:04:14 +00:00
rtr
aaa2aef98a + correct set lists for sgimips src/x11. 2004-11-21 00:16:05 +00:00
wiz
7a3b0ef281 Formatting fixes, and a typo fix. 2004-11-20 23:29:33 +00:00
jdolecek
b267d4ace5 whitespace cleanup 2004-11-20 19:56:44 +00:00
grant
0bfb4106b0 no trailing comma at end of enum. 2004-11-20 06:40:01 +00:00
grant
3e28f586c0 +pkgsrc/OSF1 2004-11-20 06:37:15 +00:00
christos
ed9b8e9f3f add manual page for sockaddr_snprintf(3) 2004-11-20 03:07:50 +00:00
christos
1fe49f768f Add a manual page. 2004-11-20 03:06:09 +00:00
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