Commit Graph

5607 Commits

Author SHA1 Message Date
martti a645b3b843 Don't execute /etc/postinstall if -b was used. 2002-09-28 06:17:16 +00:00
thorpej bf97c13c6c Declare all cfattach structures const. 2002-09-27 20:41:46 +00:00
grant 34e29c6844 fix typo, from Julio Merino in bin/18440. 2002-09-27 18:20:52 +00:00
itojun 88b96862d4 IPV6_V6ONLY setsockopt has to happen before bind(2). PR 18435 2002-09-27 14:43:00 +00:00
thorpej d1ad2ac4f2 Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
agc e66e457180 <sys/map.h> is no more - don't try to include it. 2002-09-26 21:30:30 +00:00
thorpej 09354b26ef Fix an uninitialized pointer bug in emitcfdata(). 2002-09-26 21:07:49 +00:00
onoe 55ef0eb8b9 Changed the name for resource id 0xfd45 to match the reality.
WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:52:44 +00:00
thorpej fc0fe0347d Overhaul the way parent attachments are specified; instead of using
a vector of indices into the cfdata table to specify potential parents,
record the interface attributes that devices have and add a new "parent
spec" structure which lists the iattr, as well as optionally listing
specific parent device instances.

See:

    http://mail-index.netbsd.org/tech-kern/2002/09/25/0014.html

...for a detailed description.

While here, const poison some things, as suggested by Matt Thomas.
2002-09-26 04:07:35 +00:00
wiz 5e977f5ead Ispell. Begin new sentences on a new line. 2002-09-26 01:41:51 +00:00
wiz 5dbdce59f0 Fix date. 2002-09-25 00:34:44 +00:00
wiz e9df1e7eda Drop trailing whitespace. 2002-09-25 00:09:38 +00:00
mycroft 29ac8aa531 Fix PR 18391, from Geoff Wing. 2002-09-24 17:32:03 +00:00
itojun b5c1ff7fae set IPV6_V6ONLY to 1 to avoid complicated access control issue
(libwrap takes care of it, but just to be sure)
2002-09-24 13:53:54 +00:00
itojun 2eca5c16aa set IPV6_V6ONLY to 1. 2002-09-24 13:48:14 +00:00
itojun c41e40e20e set IPV6_V6ONLY socket option for AF_INET6 socket, to avoid
complicated access control issue due to IPv4 mapped address.
2002-09-24 13:31:33 +00:00
uebayasi 6a49247a32 Sprinkle .Xrs to packages(7). 2002-09-24 03:18:00 +00:00
mycroft aae6c28cf9 null commit 2002-09-23 12:44:34 +00:00
itojun f46e921837 poll.h, not sys/poll.h 2002-09-23 03:36:03 +00:00
dbj df3f757254 add mkdevsw.o to OBJS 2002-09-22 06:22:50 +00:00
christos 221d636e59 PR/15692: Love: specify ipsec policy for mountd. 2002-09-21 20:35:00 +00:00
itojun 3ca6603d44 sys/poll.h -> poll.h
reduce diff w/ kame tree.
2002-09-20 22:04:31 +00:00
mycroft a5f0bfc173 Set fd of unused pollfd entries to -1. 2002-09-20 19:51:33 +00:00
mycroft 012f202229 Minor simplification. 2002-09-20 19:49:59 +00:00
mycroft 39f9b8328c Set fd of unused pollfd entries to -1. 2002-09-20 19:48:58 +00:00
mycroft ab637af34b Minor cosmetica. 2002-09-20 19:23:58 +00:00
mycroft f90ffa1f0c select() -> poll() 2002-09-20 15:23:06 +00:00
mycroft bead6c7cd4 Use STDIN_FILENO/STDOUT_FILENO as appropriate. 2002-09-20 15:23:05 +00:00
mycroft 1ae4d43ce6 select() -> poll() 2002-09-20 15:15:49 +00:00
mycroft ae69ed2b35 select() -> poll() 2002-09-20 14:16:03 +00:00
mycroft 562704fd8f select() -> poll() 2002-09-20 13:30:18 +00:00
mycroft 648377324d select() -> poll() 2002-09-20 13:08:21 +00:00
mycroft c2748cb222 select() -> poll() 2002-09-20 06:02:25 +00:00
lukem 1b2d905cd0 cast "%ld", xxx.tv_sec to a long 2002-09-20 04:12:42 +00:00
mycroft 176cc386e1 If we can't set FD_CLOEXEC on a listening socket, close it rather than allowing
it to be passed down to inetd's children.
Note: Setting FD_CLOEXEC can't actually fail, but we did check for the error
anyway...
2002-09-19 21:59:03 +00:00
mycroft 59edfd2c03 Simplify the accept() code a little -- sockaddr_storage is fine for both
AF_LOCAL and AF_INET{,6}.
2002-09-19 20:35:56 +00:00
mycroft 4082cae6ac If we exit because the pid file is locked, syslog that. 2002-09-19 20:22:32 +00:00
mycroft e1a3e519ec select() -> poll(), nanosleep() 2002-09-19 20:08:58 +00:00
mycroft 05abee23d9 select() -> poll(), nanosleep() 2002-09-19 16:45:57 +00:00
lukem 805b400ba7 use NETBSDSRCDIR as appropriate 2002-09-19 12:08:37 +00:00
mycroft 478dc25d0a select() -> poll() 2002-09-19 03:31:19 +00:00
mycroft fbf6498012 select() -> poll() 2002-09-19 03:04:13 +00:00
mycroft 7fa9b49281 select() -> nanosleep() 2002-09-19 02:59:20 +00:00
mycroft 45e43d0ec5 select() -> poll()
Also clean up some very ugly code.
2002-09-19 02:49:41 +00:00
mycroft 3e966fa349 select() -> poll()
Also, remove a call to path_create() that causes the `prepend' path held by
pkg_perform() to be deleted, causing a core dump later when pkg_perform()
tries to remove it itself.
2002-09-19 02:13:57 +00:00
mycroft 01d349833e select() -> poll()
Also, change the way console input is passed to the subprocess -- instead of
echoing it in sushi, instead set the pty to cooked mode and have it do any
echoing.  This will work better if we have scripts that accept input (sometimes
we don't want it visible; e.g. if it's a password) and also has the side effect
of allowing a command to be interrupted with ^C.
2002-09-19 00:45:47 +00:00
mycroft 8efb63f066 select() -> poll(), nanosleep() 2002-09-19 00:01:33 +00:00
mycroft 36b12b30ec select() -> poll() 2002-09-18 23:33:37 +00:00
mycroft ae627c1271 select() -> nanosleep() 2002-09-18 23:27:25 +00:00
mycroft 7f79942c2d select() -> nanosleep() 2002-09-18 23:18:44 +00:00