Commit Graph

130902 Commits

Author SHA1 Message Date
lukem dd9512e81e Ensure that _nis_start(&state) has been called before using PASSWD_BYNAME()
or PASSWD_BYUID(), otherwise state.maptype won't be correct and the wrong
map may be selected (e.g., "passwd.by*" instead of "master.passwd.by*").

Set _PASSWORD_NOWARN in flags to __pw_scan(), so libc won't display parse
errors to stderr.  (This was the behaviour before my recent rototill.)

Fixes PR 27168 from Markus W Kilbinger.
2004-10-07 06:11:24 +00:00
briggs 9f506888d3 Update sem_otime on successful call to semop(). 2004-10-07 05:34:09 +00:00
darrenr 8fe036145c * Prevent hang when attempting to flush state entries for ipv4 when ipv6
are present or vice versa
* Fix matching of IPv6 state entries when the initial packet is a
  sent to a multicast address.  This includes not updating the address as
  being fixed when a second (or further) such packet is seen before a reply.
* Disable code, for now, that limited how many ICMP packets could match a
  state entry based on the number of real packets seen.
2004-10-07 03:57:02 +00:00
snj f01f5b2f9e English fix. 2004-10-07 02:14:59 +00:00
snj 7f9afb684d Bring over the changes from revision 1.7 of
lib/libarch/x86_64/x86_64_get_mtrr.2 (grammar fixes).  Requested by
Nicolas Joly in PR lib/27172.
2004-10-07 01:47:11 +00:00
dsl 01236c0646 Build gzip with -DSMALL set
Also Remove compress and bzip2 support
Brings bootfloppy-tiny back below the size of a 5.25" floppy.
2004-10-06 21:28:12 +00:00
erh c857b022f4 Don't look for files at all unless -. is specified. Allows pkg_info to
work if there happens to be a uninstalled package present in the current
directory.
2004-10-06 15:40:11 +00:00
jdolecek f2cf61aebd g/c unneeded/obsolete extern variable definitions 2004-10-06 15:39:19 +00:00
jdolecek 0924a3d070 g/c extern definitions for some variables which are actually static
in sysv_msg.c
2004-10-06 15:33:49 +00:00
darrenr 328bd73105 The change in 1.3 is incorrect - it checks for FI_OOW regardless of what
type of data is stored in the rule (only a valid check for FR_T_IPF rules.)
2004-10-06 15:06:29 +00:00
wiz 9876532d80 Fix some typos in comments and panic()s. 2004-10-06 12:12:42 +00:00
enami 87aaf3d70d Fix a bug introduced by previous commit. It breaks export command
with multiple arguments if one of them are already set.  Fix PR#27155
and probably PR#27143.
2004-10-06 10:23:43 +00:00
bad 2a256a96ac Interfaces that do checksum offloading indicate the checksum status of
received packets in csum_flags in the packet header.  Packets that are
forwarded over the bridge need to have csum_flags cleared before being
put on the output queue.  Do so in bridge_enqueue().

Discussed with Jason Thorpe.

Fixes PR kern/27007 and the first part of PR kern/21831.
2004-10-06 10:01:00 +00:00
scw ca40f65ce1 Apply patch provided by Hiroki Nakano in PR kern/27159 to fix
compilation with DEBUG_DMA defined.
2004-10-06 08:59:40 +00:00
skrll d42dfb7727 Correct arg name in comment. 2004-10-06 08:55:27 +00:00
dbj f4bfaafba1 fix typo: s/sate/state/ 2004-10-06 05:57:33 +00:00
thorpej 402ff2cf29 Slight simplification to IFA_STATS handling. 2004-10-06 05:42:24 +00:00
thorpej 57024fd924 Define a WM_MAXTXDMA constant to represent the largest Tx DMA any given
packet will require.
2004-10-06 05:29:51 +00:00
thorpej 7ee6d38e39 Sync the Tx DMA map after offload stuff has been dealt with, since the
offload set-up digs into the packet.
2004-10-06 05:23:05 +00:00
lukem db0bfa2161 improve description of struct statvfs members 2004-10-06 04:30:04 +00:00
itojun 6c66b599bb use ifunit() 2004-10-06 03:49:03 +00:00
itojun dd505f6f10 call dom_ifattach[] at consistent state. before this commit, dom_ifattach[]
was called after interface attach is completely done for non-cloning interface,
and from within if_attach() for cloning interface (which was wrong).
2004-10-06 02:44:32 +00:00
darrenr 0543239818 Add a comment to document what setting "srcrt" is really on about in ipintr() 2004-10-06 01:34:11 +00:00
thorpej eeee37654e Restructure the loop in wm_start() that passes over the DMA map segments
slightly to make it easier to drop in errata work-arounds that require
adding extra descriptors onto the end of the packet.
2004-10-06 00:04:01 +00:00
heas 3e34026e61 Add TWE_PARAM_PROC_PERCENT; completion percentage per-sub-unit (2 bytes/ea) for
initialize/verify/rebuild processes.
2004-10-05 23:49:15 +00:00
heas f931eb70ff Add TWE_OP_PROBEUNIT (0x7), which probes a drive (not associated with a unit
from the controller's POV) for unit information.  It's arguments mirror that
of TWE_OP_PROBE.
2004-10-05 23:31:32 +00:00
thorpej 09421fe870 Largest Tx descriptor buffer size is actually 4K. 2004-10-05 21:29:56 +00:00
thorpej 29a0a6f5d1 Enable the SmartSpeed work-around code for the IGP phy, with some
minor adjustments.
2004-10-05 20:20:00 +00:00
thorpej d1c33ede84 Work around another problem (that causes horrible performance) on the 82547:
- Change the Tx:Rx on-chip RAM allocation ratio based on MTU:
  => 82547: > 8192 18K:22K, else 10K:30K
  => others: > 8192 24K:40K, else 16K:48K
  Values derived from Linux driver.
- On the 82547, keep track of how much of the Tx FIFO has been used.
  When in half-duplex mode, don't let packets wrap around the FIFO ring
  buffer, because that causes the chip to croak.  Detect this, stall the
  Tx queue, use a timer to wait for the packets to drain from the Tx FIFO,
  reset the internal FIFO pointers, and restart the Tx queue.  Basic
  algorithm (and some magic numbers) derived from FreeBSD and Linux drivers.
2004-10-05 20:14:52 +00:00
lha f911795b30 Switch to krb5_set_password that can handle the RFC3244 (and the older
change password protocol)
2004-10-05 14:12:56 +00:00
wiz f74a3e4c4e Add missing function types for getpwnam_r and getpwuid_r. 2004-10-05 13:52:09 +00:00
is b5016b1bb3 Some code likes to mix MT_HEADER and MT_DATA. Revert this assertion until
the usage of MT_HEADER vs. MT_DATA is better defined and implemented.
2004-10-05 12:19:29 +00:00
lukem 0a87664e7c Use PASSWD_BYxxx(state) macros instead of "passwd.byxxx" to refer to
the NIS "passwd.by*" maps.
Fixes problem with "passwd_compat: nis" noted by Matthias Scheler.
2004-10-05 12:09:23 +00:00
augustss 30c119625c Regen. 2004-10-05 11:58:17 +00:00
augustss 48f76da065 Add some ALI devices. 2004-10-05 11:57:22 +00:00
tron 84596c1d92 Fix bug which caused "ypinit" to die with a strange error message if
"/var/yp/binding" doesn't exist.
2004-10-05 11:35:35 +00:00
jdolecek 6513aa8291 regen: generate struct linux_sys_shmget_args for linux_sys_shmget(2) 2004-10-05 06:02:36 +00:00
jdolecek 361bf102b8 mark linux_sys_shmget() STD, so that appropriate struct linux_sys_shmget_args
would be defined for use by alpha linux_sysent.c
2004-10-05 06:01:20 +00:00
yamt 2c46ccce37 move netinet/ip_lookup.h -> dist/ipf/netinet/ip_lookup.h. 2004-10-05 04:56:41 +00:00
yamt 8484dd9eed move ipf headers and add a comment. 2004-10-05 04:55:48 +00:00
lukem 45a7a69275 Overhaul the use of nsdispatch(3) by public APIs so that the back-end
methods use va_list in a manner that is directly related to the public API.
This makes it much easier to write dynamic nsswitch backends for getpwent(3).
Per my proposal on tech-userlevel.

Implement getpwgid_r() and getpwnam_r() APIs per the POSIX 1003.1, 2004 Ed.
These aren't fully reentrant or threadsafe yet, because the compat stuff
currently uses non-reentrant data sources (getnetgrent(3), getpwent(3)),
and there is probably some locking to be improved in the backends.
This will be fixed in the near future.
We also need to add _SC_GETPW_R_SIZE_MAX to sysconf(3).

Fix the compat `+' prototype override so getpwnam(3) and getpwuid(3) DTRT.

Improve the description of pw_class and pw_gecos.
2004-10-05 04:45:54 +00:00
christos 557877d024 Only enable BRIDGE_IPF code if PFIL_HOOKS is enabled. 2004-10-05 03:36:45 +00:00
christos 766798b654 PR/27137: Martin J. Laubach: core dump when localhost does not support
a given address family and a peer only supports the family localhost does
not support. For example: configure a kernel without IPV6, and then
add a line in ntp.conf server <ipv6addr>. We report that the server is
unreachable and we keep going because there might be more servers around?
XXX: What if it is the last server? Should we detect this? It is not nice
to just bail on this error, because a server might lose its ipv4 address
and only advertise ipv6.
2004-10-05 03:34:38 +00:00
lukem a18b46b6e9 Correct order of description of getgr{nam,gid}{,_r}() functions. 2004-10-05 03:03:24 +00:00
thorpej 0fdf8295f4 - Add some useful constants related to the Packet Buffer Allocation
register.
- Add the Receive and Transmit Data FIFO registers.
2004-10-05 02:17:21 +00:00
he 132a99257c Cast a pointer difference to int before printing with %x.
Should fix build problem for our LP64 ports.
2004-10-04 22:33:16 +00:00
rumble a950c45f67 Move a comma up to the preceding line as advised by wiz@. 2004-10-04 20:17:47 +00:00
he 32dfb50ca9 Track the change of int -> paddr_t for the arguments to the ARCBIOS
routines.
2004-10-04 19:59:51 +00:00
rumble aae599581f Removed accidental repetitious words. 2004-10-04 19:12:52 +00:00
rumble c1cd7e398e '..is is valid to..' -> '..it is valid to..' 2004-10-04 19:09:28 +00:00