Commit Graph

142726 Commits

Author SHA1 Message Date
wiz
cccac10b43 Remove superfluous .Pp. 2006-01-20 21:57:50 +00:00
wiz
b6af89382a Remove superfluous .El. From Nicolas Joly in PR 32546. 2006-01-20 21:57:35 +00:00
wiz
34d6efd9aa Add missing .El. From Nicolas Joly in PR 32546.
While here, fix some macro usage.
2006-01-20 21:57:25 +00:00
wiz
771b656bd0 Add missing .El. From Nicolas Joly in PR 32546. 2006-01-20 21:50:54 +00:00
wiz
5fb854a4b2 Add reference to RFC 3164. From Pavel Cahyna in PR 32578. 2006-01-20 21:48:41 +00:00
elad
271a419065 better handle ^d in getinp(), so we dont loop endlessly.
i have no idea why i wanted to play this game.
2006-01-20 21:40:08 +00:00
bouyer
87d63b6c1c Remove files not needed in the kernel. 2006-01-20 18:17:59 +00:00
christos
c681304808 Instead of dealing with port@host in many places, do it where it is needed.
It reduces code and complexity and at the same time allows as to use symbolic
ports instead of just numeric everywhere.
2006-01-20 17:30:00 +00:00
christos
a8243f1c4c Add the world of libraries to the static pam build. Now static pam binaries
work.
2006-01-20 16:54:11 +00:00
christos
ba9fdf89e5 Add all the modules to the static pam. This is required, otherwise pam does
not work on non pic builds because it does not find modules listed in
/etc/pam.d.
2006-01-20 16:52:55 +00:00
christos
7768338003 Declare what we services provide, otherwise pam assumes that we provide
everything and this breaks static linking.
2006-01-20 16:51:15 +00:00
xtraeme
b768917ecd ktrace-lwp fallout. ok'ed by skrll. 2006-01-20 15:41:28 +00:00
yamt
6f3f9a8f52 blst_meta_fill: fix an assertion. PR/32580 from Nick Hudson. 2006-01-20 14:19:40 +00:00
elad
202106feb9 oops, make this install to /usr/games and not /...
noted by hannken@, thanks.
2006-01-20 14:19:31 +00:00
elad
d5de4cccfa qsieve, qsafe. 2006-01-20 11:23:51 +00:00
garbled
79363b714f Add control file documentation for 'o' handling, and fix the
documentation on the DVI handling, the correct letter is 'd' not 'r'.
2006-01-20 08:51:40 +00:00
garbled
369e280f68 Add further documentation about 'o' handling for postscript. 2006-01-20 08:46:48 +00:00
garbled
708af10eb8 Add the pjlfilter to the HP printer example entry. 2006-01-20 08:41:29 +00:00
garbled
72224e6512 Add pjlfilter to setlist 2006-01-20 08:38:59 +00:00
garbled
bd7bcee846 Add a simple filter that encapsulates ascii text into HP PJL format.
Script written by Ross Harvey.
2006-01-20 08:37:26 +00:00
uwe
08c90217fd Use NULL, not 0 for null pointer.
Fix #else/#endif trailing comment.
Use explicit "continue" for the body of the infinite loop.
2006-01-20 04:30:03 +00:00
uwe
9e88e2f24a Use uint32_t. Declare jump and boot functions noreturn. Move scratch
variable to outputs of the asm statement that tweaks sr, so that gcc
doesn't insist on it being initialized.  Move boot function template
closer to instantiation.  Misc prettification.
2006-01-20 03:55:55 +00:00
uwe
cebdea24e0 Use uintN_t. 2006-01-20 02:47:30 +00:00
elad
3281cee076 Default socket owner to operator:operator. 2006-01-20 00:21:35 +00:00
cube
a7a7ef8a54 ktrace-lwp fallout for SYSCALL_DEBUG. From Vasily Levchenko. 2006-01-20 00:10:33 +00:00
elad
7db6fc6be2 xref qsieve(6). 2006-01-19 23:31:09 +00:00
xtraeme
10aed9d2fa * Show Advanced Power Management extended features from CPUID.
* Split out the code that checks for CPUID 0x80000007 (powernow)
  into another function.
* Cleaned up the code a bit.

More to come...

cpu0: AMD PowerNow! Technology.
cpu0: AMD features: TS FID VID
cpu0: available frequencies (Mhz): 798 864 931 997 1064 1197
cpu0: current frequency (Mhz): 1197

The frequency values are not correct (yet).

Thanks to Rhialto for testing and provide feedback.
2006-01-19 23:28:12 +00:00
elad
d4bdf04e28 Descend to moduli too. 2006-01-19 23:25:19 +00:00
elad
0e71d2c846 Add qsieve and qsafe, two programs used for generating the moduli file.
These were written by William Allen Simpson and submitted in PR 21983,
and are added with minor adjustments and nits from christos@ and myself.

Approved by christos@ and groo@.
2006-01-19 23:23:58 +00:00
garbled
19fe295582 Fix some minor buglets in wump:
1) Don't put two pits in the same room.
2) Don't put bats and pits in the same room.  (you will never hit the bat)
3) Don't start the player in a room with a pit or bad, if possible.  Some
caves are so crowded the loop may go on forever, so we give up after 100
tries to put them in a safe location (as long as it's not with the wumpus).
4) Make the manpage reflect reality WRT the default number of rooms.

Bug #3 pointed out by salo.
2006-01-19 21:20:35 +00:00
garbled
c2c322c5a5 Apply patch from PR bin/23836 cmp did not correctly parse skip arguments
given in hex or octal, as the manpage states it can.
2006-01-19 20:44:57 +00:00
garbled
b2fc76e5cb Apply patch from PR bin/26501 to fix hang in wump if you play too many
games in a row.  Also modify change made in rev 1.18 to work correctly.
take_action() returns 1 if the player dies, causing the game to allways
exit after any death, now the game correctly asks if the player would
like to play again.
2006-01-19 20:15:31 +00:00
garbled
fad94e160d Fix PR bin/30272 Lpd would create the tempfile "remotexxxxx" and send
that, but then fill out the control file with the "df" filename.  Fix by
sending the remote file with the "df" filename, as suggested by Robert
Vargason on tech-userlevel.  lpd -r now works properly with an if (input
filter)
2006-01-19 19:17:59 +00:00
wiz
7ddd0cc392 error() already adds a newline at the end, so do not provide one
in its format string.
2006-01-19 17:50:33 +00:00
christos
349408700d PR/32572: John Kohl: xdr_rec.c missing a bugfix for an improper security check
The correct way to check for a zero record length is to check for it
without the LAST_FRAG marker in it, since it's legal to send a LAST_FRAG
marker with 0 bytes of data.
[This should be pulled up to 3.0]
2006-01-19 16:40:44 +00:00
he
061762c234 Wrap the definition of cg14_set_rcons_luts() in an #ifdef RASTERCONSOLE,
to allow the INSTALL kernel to build, as it's unused there.
2006-01-19 15:09:57 +00:00
yamt
a76cc9d9c4 - mmrw, mmmmap: reject accesses to unknown pa if securelevel > 0.
- mmmmap: remove physmem check.  it was wrong and superseded by the above.
- mmmmap: remove suser() check.  there's no point to limit the operation
  to root here, given that the almost same thing can be done by
  normal read and write.
2006-01-19 13:34:11 +00:00
he
1f8841dea3 Make this compile again by ensuring that we don't cast away the volatile
qualifier.
2006-01-19 09:32:37 +00:00
uwe
b5b426b4a5 Bump date to welcome back # operator. 2006-01-19 00:19:13 +00:00
uwe
74fe467153 Widen "Value" column in the reboot desccription to accomodate RB_POWERDOWN.
Make the table aligned properly in PostScript output.
2006-01-19 00:12:21 +00:00
uwe
9457018f06 Reinstate description of # operator lost in an editing accident.
While here, fix spacing in the description of possible identifier syntax.
2006-01-19 00:00:27 +00:00
garbled
2d58d3d4c7 If we set SIGCHLD to SIG_IGN then any wait()'s on the child processes will
return -1.  This causes filters to fail because we get a value for
child_pid we weren't expecting.  Set SIGCHLD to SIG_DFL instead to clear
the reapchild setting when forking the child lpd.
2006-01-18 23:17:38 +00:00
garbled
9ca158e136 change return(0) to return(rv). We went to all the trouble to calculate the
return value, we might as well return it. (fixes lpq -a, and probably lpd)
2006-01-18 19:11:25 +00:00
chs
5570661cd8 in amap_alloc(), only put the amap on the list of amaps if we succeeded
in allocating it.
2006-01-18 17:03:36 +00:00
reinoud
6e09afa9be vfs_mountedon() can only and only handle special device nodes and will
otherwise generate an UVM trap or will access random memory. This is due to
the dereference of vp->v_specmountpoint that is really
vp->v_specinfo->si_mountpoint. The field v_specinfo is multiplexed with
other structs in the vun union in struct vnode like struct socket.

The patch adds a sanity check for accessing the specinfo fields by only
allowing VBLK nodes to be passed. In theory also VCHR could be valid since
its also a special node though mounting is only done on VBLK so be strict.

Ok'd by yamt.
2006-01-18 14:26:55 +00:00
christos
0149d50904 Apply patch from FreeBSD-SA-06:05. This avoids the overflow during the
lenght calculation phase instead of just growing the buffer like the older
patch did. I am leaving the bigger buffer too for now since it does not hurt.
2006-01-18 14:01:16 +00:00
is
c5b9cc482c Instead of abusing the function md_prep_label(), create a new (optional)
md_view_labels() and a variable to mark its availability, so checking of
the available disklabels can be done before the root device is chosen.
Suggested by Martin Bertelsmann.
2006-01-18 13:39:05 +00:00
is
1719c90222 Only provide uncompressed tools, so that they can be run directly
from CD-ROM, and buggy CD-ROM file systems aren't confused by two
tools with the same prefix.
2006-01-18 13:19:01 +00:00
uwe
ed89efb8bf Define indp_t as signed int32_t, like ffsv1.c does. 2006-01-18 02:52:22 +00:00
uwe
f60eb26259 Prune CPPDEF_LIST from unnecessary defines. 2006-01-18 01:08:57 +00:00