Commit Graph

136024 Commits

Author SHA1 Message Date
atatat 26201c11b4 If the passwd entry is not found for a lastlog entry, cons up a fake
struct passwd where pw_name is the numeric uid in parentheses.

If -n is specified more than once, also print the user numerically
(ie, uid instead of username).
2005-04-09 02:13:20 +00:00
atatat 04274e4899 Don't allow the command length to mess up the formatting 2005-04-09 02:10:27 +00:00
atatat 3e171f3338 Add CompUSA USBKR100 to the list of the supported adapters 2005-04-09 02:06:53 +00:00
atatat a9321bb19a Add the 'A' and 'P' format specifiers which use getaddrinfo(3) to turn
numbers into names (if possible).  Also add the '?' format modifier
that elides the "N/A" if that's what you would normally get.
2005-04-09 02:05:47 +00:00
atatat 7f2367785b Mention that the number after CTL_NET is "usually the protocol", but
may not be (see net.bpf).
2005-04-09 02:03:36 +00:00
atatat 1d1f5d461b Don't assume /usr/games; use the same path as what rot13 was found at
to run caesar.
2005-04-09 02:02:15 +00:00
atatat 460d82b8cc A few minor spelling, grammar, and formatting fixes. 2005-04-09 02:00:27 +00:00
jmcneill a497249c37 Add AC'97 1.x 'Modem Line Codec support' capability bit definition. 2005-04-08 15:27:19 +00:00
kent bac6b47ff9 * neo_intr()
update the watermark for the recording buffer
  The fix was provided in PR#26706 by Chapman Flack.
2005-04-08 14:30:57 +00:00
jmcneill 702c19a270 Add identifiers for Intel ICH3 AC'97 modems and CXT33 modem codecs, from
Nicolas Joly <njoly _at_ pasteur _dot_ fr>.
2005-04-08 12:50:00 +00:00
jmcneill 89358212e7 Note AC'97 modem support. 2005-04-08 00:38:24 +00:00
jmcneill 38c4ea08f7 Take responsibility for esa(4) and esl(4) 2005-04-08 00:30:14 +00:00
perseant af48a6d91c Clean up the handling of the pager_map deadlock in lfs_putpages, after
realizing that it is safe to sleep the second time through the loop.
2005-04-08 00:08:42 +00:00
rumble 9f17d61687 Don't maintain an unimplemented vector for each arcbios vector.
Rather, cast our single vector. We weren't reporting which vector
when panicking, and if somebody uses a vector that isn't
implemented it should be easy enough to trap down anyways.
2005-04-07 23:36:48 +00:00
jmcneill 0f32e1f4a6 AC'97 modems don't have the same mixer controls as audio devices. Treat
them differently. Mixers are built depending on the features returned
in the ext_mid -- any combination of LINE1, LINE2, and HANDSET.
2005-04-07 23:24:05 +00:00
jmcneill c7acb3a606 More modem fixes:
* Ignore ICH_PCM246_MASK for modem devices
 * Set LINE1 rate and level in set_params
 * Enable mmap for modem devices. This was previously disallowed due to
   the ext_id field not advertising that the device supported variable
   rates. Since modems don't use ext_id (they use ext_mid instead), enable
   mmap. Multiple rates are supported on AC'97 modems.
2005-04-07 23:21:10 +00:00
christos 8dba43fbdf Recognize more units and be more helpful when we enter bad units. 2005-04-07 21:27:44 +00:00
dsl 4118385742 Allow partition sizes to be input in GB 2005-04-07 20:23:13 +00:00
tron 9f15a6aa01 Fix bad format string which broke the build on LP64 platforms. 2005-04-07 20:22:40 +00:00
christos 8b3f9b1455 Factor out tyname() so that it can be used both by lint1 and lint2.
Since type_t is different between lint1.h and lint2.h include the
appropriate file depending on the pass. Make the argument mismatch
error print the type names of the types involved. Now that we have
a tyname() function we can fix the rest of the pass2 warnings to be
more explanatory, but not now.
2005-04-07 16:28:40 +00:00
christos fad5d2cf7a statvfs is both a function name and a struct tag. Defining it to _statvfs
causes lint to complain because it sees both struct statvfs and struct
_statvfs. Fix by changing the macro to have arguments.
XXX[1]: Probably this should be done for the rest of the functions that have
        the same names as struct tags.
XXX[2]: Is there a better way?
2005-04-07 16:26:35 +00:00
christos 67d11513a6 PR/29919: Evaldo Gardenali: getmntinfo() calling deprecated function getfsstat()
Fixed by defining an _getfsstat() internal function and calling that instead.
2005-04-07 16:24:18 +00:00
yamt 0b4d50d7bd when doing TSO, avoid to use duplicated ip_id heavily.
XXX ip_randomid
2005-04-07 12:22:47 +00:00
yamt 9eabef72e3 don't #include unnecessary headers. 2005-04-07 12:12:51 +00:00
yamt 4a4d83d126 pmap_testout: fix too many arguments for pmap_kenter_pa.
from Shoichi Miyake.  PR/29914.
2005-04-07 12:01:08 +00:00
dbj 2939014883 use voff_t instead of vaddr_t to hold file offset passed to pgo_put 2005-04-07 06:44:15 +00:00
kleink fb4f51453b Add some pedantry to exceptions from being equivalent to strftime. 2005-04-06 21:39:17 +00:00
christos ad6c31cee3 PPR/29909: Manuel Bouyer: sysctl dumps core if kern.consdev returns unknown
device.  If we cannot determine the device name of the console, print the
console dev_t in hex.
2005-04-06 21:13:03 +00:00
bouyer 4b058b80fb Add xencons to the default list of devices. Fix port-xen/29887 by Juan RP. 2005-04-06 21:06:28 +00:00
martti dac8d052b2 Note CERC SATA RAID 1.5/6ch 2005-04-06 16:01:13 +00:00
martti 3467f3dde3 Regen for Dell CERC SATA RAID 1.5/6ch 2005-04-06 15:49:06 +00:00
martti 6fe6af8035 Added support for Dell CERC SATA RAID 1.5/6ch 2005-04-06 15:48:15 +00:00
yamt a7cd6f7a0e amap_wipeout: remove a comment which is no longer true.
despite of what comment said, i left preempt() call
because i don't think of any bad effects.
2005-04-06 13:58:40 +00:00
yamt b02ae403bb switch swap space allocation code to use blist instead of extent(9).
fix "warning: resource shortage: %d pages of swap lost".

extent(9) has some undesirable characteristics for swap allocation:
	- it involves alloc-to-free.
	- its operational cost is O(n*n) where n is number of entries.
2005-04-06 13:51:33 +00:00
yamt 2fc4b4f5e7 sys_mount:
- reject attempts of MNT_GETARGS + other MNT_xxx.
- don't modify mnt_flags needlessly for MNT_GETARGS.
  a stopgap fix for PR/29898.
2005-04-06 13:49:31 +00:00
yamt d5b26ed899 add a comment. 2005-04-06 13:13:05 +00:00
yamt dad03fda36 introduce new types, blist_bitmap_t and blist_blkno_t,
and use them instead of uint64_t.
make them 32-bit for now because it's what swap slot allocation code uses.
2005-04-06 13:09:10 +00:00
yamt a1bde39425 move implementation details from blist.h into subr_blist.c. 2005-04-06 11:36:37 +00:00
yamt a1e1c4e82e - add a missing cast in the 1-bit optimization case of blst_leaf_alloc.
- use uint64_t rather than daddr_t/u_daddr_t and rename SWAP -> BLIST.

XXX 32 bit is enough?  will revisit later.
2005-04-06 11:35:54 +00:00
yamt 2c8d11ba2b make blist compilable on netbsd. 2005-04-06 11:33:54 +00:00
yamt 186b3b1026 bring in blist from freebsd as-is. 2005-04-06 11:32:06 +00:00
martin 8a51929fe1 Add -fno-merge-constants (as the xsrc build does too) to make the module
loader work with the gcc versions we use now. No idea why i386 apparently
was not affected by this.
2005-04-06 08:32:11 +00:00
perseant e6e33f374d Correct phase 0 message 2005-04-06 04:32:59 +00:00
perseant c9d4fa4c0d Fix some locking issues that appeared with the simple_lock work.
Address a "pager_map" deadlock in lfs_putpages().
2005-04-06 04:30:46 +00:00
perseant aafc65baa9 Note that fsck_lfs may not know beforehand whether a given block is a
superblock or a segment summary, and tries both.  These may be different
sizes.  Fix a broken assertion that they are the same size.

Fixes PR # 29151.
2005-04-06 02:38:17 +00:00
agc 8313edf555 Do some Common Subexpression Elimination when testing for valid characters
in login and group names.
2005-04-05 22:54:26 +00:00
peter 943430a954 Allow '_', '.' and '-' in group names, like in login names.
Fixes problem with groupadd(8) for _pflogd; pointed out by Jukka Salmi.

Approved by christos.
2005-04-05 22:03:57 +00:00
christos aba19ee8af Double the stack space limit. We are running out with ntp.pool.org. 2005-04-05 20:56:58 +00:00
peter c37e23a1f9 Add _pflogd group. 2005-04-05 19:57:30 +00:00
christos dac720be4f Update with pam descriptions.
XXX: needs more work.
1. code needs to be added in pam_group.so to handle indirect groups and
   documented.
2. the indirect group description outside before the customization section
   does not work with pam, but could be made to work once [1] is implemented.
2005-04-05 18:46:33 +00:00