Commit Graph

149273 Commits

Author SHA1 Message Date
dyoung 01868ae406 Let there be no mistake, m_makewritable() does not guarantee that
the writable bytes [off, off+len) are consecutive.
2006-07-28 17:30:53 +00:00
sjg 7ab69f08a8 Indicate which modifier a result applies to, helps debug complex cases. 2006-07-28 17:08:55 +00:00
sjg ba9f975490 Add debug output for CondDoExists() - the results can be surprising. 2006-07-28 17:07:33 +00:00
dyoung 8cb43bea43 Fix mtod() usage. If we will write to the mbuf data, check whether
the data is read-only/shared and call m_pullup().  Otherwise,
extract a const pointer to the mbuf data.

XXX I should extract a new macro, M_WRITABLE(m, len), that is true
if m has len consecutive writable bytes at its front.

KNF slightly.

Use bpf_mtap_af().
2006-07-28 17:06:59 +00:00
sjg 772ecb66aa Fix minor mem leak in PrintOnError(). 2006-07-28 17:06:14 +00:00
dyoung bce72f7b6a Fix mtod() usage. If we will write to the mbuf data, check whether
the data is read-only/shared and call m_pullup().  Otherwise,
extract a const pointer to the mbuf data.

XXX I should extract a new macro, M_WRITABLE(m, len), that is true
if m has len consecutive writable bytes at its front.
2006-07-28 17:04:27 +00:00
christos b00752709e more cleanups. 2006-07-28 16:34:28 +00:00
dyoung ae0b3d534e Where mbuf data may be read-only/shared, use mtod(m, const ...).
Annotate a comparison and m_pullup() that seem unnecessary.
2006-07-28 16:30:55 +00:00
dyoung 788c34d9d0 Use bpf_mtap_af(). KNF slightly. 2006-07-28 16:26:20 +00:00
christos ee343feee7 use indirect lookup to save space. 2006-07-28 15:15:16 +00:00
christos 55b31470bb use indirect lookup. 2006-07-28 15:14:45 +00:00
hannken fc67a08a9c Remove 'unused variable p'. 2006-07-28 14:08:11 +00:00
hannken 5bc42a01ba Fix typo: slim -> &slim. 2006-07-28 13:02:56 +00:00
hannken 055db86c86 Remove 'unused variable p'. 2006-07-28 13:02:21 +00:00
scottr aed25205e0 Regenerate with correct rcsids 2006-07-28 08:57:03 +00:00
ad 76274213ea Correct first arg to falloc(). 2006-07-28 08:51:05 +00:00
simonb 7056ad57e0 Remove a few trailing blank lines. 2006-07-28 08:15:29 +00:00
scottr f9be1a6de9 Add Siemens SS1021 WLAN. 2006-07-28 08:02:39 +00:00
kent 6e5c3f3d89 add support for S/PDIF. 2006-07-28 07:41:39 +00:00
joerg d52654469c db->seq expects an u_int as fourth argument. 2006-07-28 01:24:24 +00:00
lukem 7569b63e4d Remove a mirror that was decommissioned almost five years ago
and was removed from the mirrors database at the time.
Somehow this file slipped through the cracks...
2006-07-27 23:01:27 +00:00
christos d58b0e2d4c add services_mkdb 2006-07-27 22:18:46 +00:00
christos 82916ef1ea add services_mkdb back. 2006-07-27 22:15:07 +00:00
christos 69ee26299b Put this back, heavily hacked by me. 2006-07-27 22:13:38 +00:00
christos 2275570860 add servent back. 2006-07-27 22:10:32 +00:00
christos 1ec46ff7b0 Improve the test to test all the functions and not the re-entrant copies. 2006-07-27 22:09:58 +00:00
christos 754fca0e0d use a db version of services if one is there. 2006-07-27 22:03:49 +00:00
dogcow fe9e9e8f3a back out last change as it is actually a visible function. 2006-07-27 20:54:42 +00:00
dogcow 98bf56ed78 define _ng_cycle to be static, so gcc won't whing about its implicit decl. 2006-07-27 19:44:06 +00:00
christos b9c41df004 add services.db 2006-07-27 18:29:01 +00:00
christos b30e946f1c move include of StringList.h before netgroup.h 2006-07-27 18:12:50 +00:00
christos 3d7fe67b05 fts_data is defined to be something else now. Avoid syntax error. 2006-07-27 18:11:19 +00:00
christos 20248fa84b forgot to commit this. 2006-07-27 18:10:45 +00:00
christos 9f1d175c27 add an _ng_cycle function to print the list of netgroups that are are dups. 2006-07-27 16:06:40 +00:00
christos 4e15f37a26 bump for libc. 2006-07-27 15:50:04 +00:00
christos 084b59473e bump because of fts_length and sl_delete 2006-07-27 15:48:56 +00:00
christos db1b909e30 More detailed errors [forgot to commit this a while ago] 2006-07-27 15:48:30 +00:00
christos a14221d559 fts_number is a quad; bump version. 2006-07-27 15:47:09 +00:00
christos b44f868f77 Turn fts_number to a quad. 2006-07-27 15:46:30 +00:00
christos 11d8439430 add sl_delete 2006-07-27 15:37:19 +00:00
christos 6826db0f05 Add sl_delete, KNF, ansi 2006-07-27 15:36:29 +00:00
kent add0e05fda add support for AC'97 S/PDIF 2006-07-27 15:35:01 +00:00
christos bf31de0036 Ansify, add dup support. 2006-07-27 15:29:07 +00:00
tron 7220cf0cb7 Correct suffixes and sort. 2006-07-27 12:55:45 +00:00
gdt 9f0410a08f add new man pages.
(Thanks to Juergen Hannken-Illjes for pointing out my error.)
2006-07-27 11:59:54 +00:00
martti b0c5d0bc0c Create /dev/ipsync, /dev/ipscan and /dev/iplookup (misc/33504). 2006-07-27 06:49:06 +00:00
christos a6f980e8fe PR/33995: Aleksey Cheusov: Add cut regression tests 2006-07-27 00:41:07 +00:00
christos 9e8b7b7aae PR/34095: Brian Buhrow: Vacation(1) core dumps when there is a Subject:
header with no content
2006-07-27 00:10:42 +00:00
christos 3358c957a3 PR/34094: Jorge Acereda: Kernel option KSTACK_CHECK_MAGIC doesn't build 2006-07-27 00:04:08 +00:00
gdt 306758ad1c man pages contributed by Igor Sobrado. 2006-07-27 00:00:56 +00:00