Commit Graph

154535 Commits

Author SHA1 Message Date
chuck
92a710ed6c take into account the 150 frame start offset time when computing the
duration of a track.  call lba2msf like this:
	lba2msf(len - 150, &m, &s, &f);
                    ^^^^^
from rev 1.41 of FreeBSD usr.sbin/cdcontrol/cdcontrol.c, Dmitry Afanasiev.

XXX: note that this is a mis-use of lba2msf() because 'len' is the length
     of the track in frames, not a logical block address (lba).
2006-12-14 18:15:16 +00:00
he
29ff6ed16a The "#ifdef UNUSED_BLOCK" in stat_flags.c wasn't so unused after
all -- it was used by the mtree source.  So, instead do an "#ifdef
MTREE", and define that one when building mtree.
2006-12-14 17:54:19 +00:00
christos
ffe3445041 pass lint; from Anon Ymous 2006-12-14 17:09:43 +00:00
christos
239d1ed129 kill the (void)&foo; from Anon Ymous 2006-12-14 14:18:03 +00:00
christos
78509e7f31 Pass lint. From Anon Ymous 2006-12-14 14:15:26 +00:00
elad
238ad51d2d - moves 'nice' access semantics to secmodel code,
- makes sysctl_proc_find() just lookup the process,
- use KAUTH_PROCESS_CANSEE requests to determine if the caller is
  allowed to view the target process' corename, stop flags, and
  rlimits,
- use explicit kauth(9) calls with KAUTH_PROCESS_CORENAME,
  KAUTH_REQ_PROCESS_RESOURCE_NICE, KAUTH_REQ_PROCESS_RESOURCE_RLIMIT,
  and KAUTH_PROCESS_STOPFLAG when modifying the aforementioned.
- sync man-page and example skeleton secmodel with reality.

okay yamt@

this is a pullup candidate.
2006-12-14 11:45:08 +00:00
elad
aa4d8a2d6c PR/35252: YAMAMOTO Takashi: veriexec doesn't handle unmount
Call veriexec_table_delete() in the cases where we won't be failing the
unmount request.
2006-12-14 11:15:27 +00:00
yamt
4cfe5a1b41 - just associate fileassoc "table" to struct mount.
because the latter is always available during the lifetime of the former,
  there is little point to use another global list to keep track of them.
  it also allows to remove an #ifdef FILEASSOC.

- avoid some operations (memory allocation and VOP) in fileassoc_file_lookup,
  when fileassoc table is not used.

ok'ed by elad.
2006-12-14 09:24:54 +00:00
elad
52944a66d2 entry-type is uint8 2006-12-14 05:15:33 +00:00
reed
09fde137ce Mention pfil(9). Reword slightly for "ipf" option as filters IPv6
also (and ICMP is implied) and that other types are blocked.

Point to pf(4) and pfil man pages.

Based on discussion in January 2006 on tech-kern.  (This has been
in my tree for around 11 months.)

This part of my work to change this (and related to use) pfil (instead
of ipf). That is done back then but needs some testing.
2006-12-14 02:50:12 +00:00
reed
ce2634c53e This only has one option so get rid of plural "s". 2006-12-14 02:34:32 +00:00
reed
623f8d5ade Add a useful example. 2006-12-14 02:33:18 +00:00
reed
9fdd8e989b Add example of using -w. 2006-12-14 02:29:59 +00:00
reed
daf4c6e3eb Remove comment about "hand-crafted".
Mention this file may be overwritten on upgrades, where to put
custom specs instead, and point to manual page.
2006-12-14 02:28:30 +00:00
reed
0dfdbcd57a Add comment about not modifying this file, where to put custom specs,
and point to man page.
2006-12-14 02:24:21 +00:00
reed
93b5694767 Remove () from end of the BIND 9 ARM as it is not a man page.
(I am not committing the fix to dist/bind/bin/named/named.conf.docbook
as we don't use that docbook file.)
2006-12-14 02:17:14 +00:00
reed
c499c1eb97 Fix some typos. I had this in my tree for a long time.
Hopefully, okay to change these old history ...
2006-12-14 02:11:52 +00:00
dbj
62b8ec502a mark lfs_cleanerd.debug as obsolete 2006-12-13 23:22:29 +00:00
christos
748af04e26 gcc4 does not care about &foo; use volatile instead. From Anon Ymous 2006-12-13 18:04:08 +00:00
christos
3e978579d3 add missing initializer. 2006-12-13 16:51:27 +00:00
tnozaki
c61eef3da4 make del(\x7f) pass through. 2006-12-13 16:16:56 +00:00
christos
df99a4dd43 Sprinkle volatile, instead of using the (void)&foo; which does not work on
gcc 4.
2006-12-13 16:08:26 +00:00
tnozaki
902f215bd9 add iconv encoding alias: cp813, cp91[2-6], cp920, cp923, cp1089. 2006-12-13 15:46:34 +00:00
tnozaki
e012779dec correct reference url. 2006-12-13 15:40:42 +00:00
yamt
24d0248e5f lookup: add more missing vput(). 2006-12-13 13:36:19 +00:00
perry
56269709f5 remove uucp -- we no longer have it in NetBSD 2006-12-13 13:35:33 +00:00
perry
452244107d note latest version of "top" 2006-12-13 13:30:47 +00:00
perry
cddc5e8381 note that tcpdump is up to 3.9.5 (we're still at 3.8.3) 2006-12-13 13:22:29 +00:00
perry
4f48050f19 note that the master routed source is now at 2.31 2006-12-13 13:21:07 +00:00
perry
b699d886c0 note that a new postfix is out 2006-12-13 13:16:47 +00:00
martin
2ed5a47025 Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
quoting Matthias Drochner:

> -check for a NULL uc_link before calling setcontext(2); do a real exit(3)
>  instead with exit handlers and all that
> -If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
>  than relying on a sensible return value to use as exit code. Makes
>  it less likely that an ucontext corruption goes unnoticed.

This fixes regress/lib/libc/context for m68k.

Thanks to Steve Woodford for optimization hints.
2006-12-13 10:48:02 +00:00
chs
e53d6bd175 in lookup(), vput() the starting vnode in the case where
we return with both ni_dvp and ni_vp being NULL.
2006-12-13 06:36:35 +00:00
matt
8861fab664 Don't apply a window scale to the window size in a SYN packet. 2006-12-13 03:45:48 +00:00
macallan
65ea75bafa various minor fixes:
- avoid virtual resolution < physical resolution (Marco Trillo)
- don't use hardware-accelerated putchar() on R3xx
- clear screen when attaching wsdisplay
2006-12-13 00:19:01 +00:00
christos
64c377519a use -fstack-protector instead of -fstack-protector-all since this breaks
on amd64 (it works on sparc64).
2006-12-12 21:31:58 +00:00
wiz
bf294e42f4 Add snapper(4) man page, based on the one provided by David H. Gutteridge
in PR 35138 with minor changes.
2006-12-12 19:25:54 +00:00
yamt
e4e829e9d1 make fileassoc_tables static. 2006-12-12 14:22:07 +00:00
simonb
f5b5aea261 Fix a grammatical nit near the previous typo fix.
Left the now somewhat bogus mips3_ prefixes in comments as is for now...

Thanks Pooka.
2006-12-12 12:03:45 +00:00
martin
eeb58feda1 Convert DMA memory allocation to bus_dmamem_alloc. From Dave Huang. 2006-12-12 11:46:33 +00:00
simonb
7641a1d1ad Fix a tyop in a comment. 2006-12-12 08:44:18 +00:00
christos
7b1864c5ec fix byte-swapping code. 2006-12-11 22:05:38 +00:00
martin
bc950f0b4a Note section for m68k 2006-12-11 19:46:56 +00:00
yamt
687483b208 update an example. 2006-12-11 15:33:01 +00:00
yamt
995d487942 FILEASSOC_NHOOKS has gone. 2006-12-11 15:30:23 +00:00
yamt
9858d82855 it's fileassoc, not verifiedexec. 2006-12-11 15:27:46 +00:00
yamt
c534201d82 sync with the implementation. 2006-12-11 15:27:09 +00:00
yamt
8b3c9d0ad7 bump to 4.99.6. fileassoc changes. 2006-12-11 15:25:26 +00:00
yamt
b0a14e5934 - remove a static configuration, FILEASSOC_NHOOKS. do it dynamically instead.
- make fileassoc_t a pointer and remove FILEASSOC_INVAL.
- clean up kern_fileassoc.c.  unify duplicated code.
- unexport fileassoc_init using RUN_ONCE(9).
- plug memory leaks in fileassoc_file_delete and fileassoc_table_delete.
- always call callbacks, regardless of the value of the associated data.

ok'ed by elad.
2006-12-11 15:24:27 +00:00
tsutsui
5a004f99ec Reduce diffs between GENERIC and INSTALL. 2006-12-11 14:49:12 +00:00
jdc
7bf256869d Add an explicit NULL for the card_detect function (that we don't have/need)
in struct pcmcia_chip_functions {}.
This now compiles again (adding -Wextra exposed this).

OK martin@.
2006-12-11 11:42:48 +00:00