Commit Graph

142749 Commits

Author SHA1 Message Date
fvdl
4cc8486856 GDT data and code entries for 32bit mode should use VM_MAXUSER_ADDRESS32 2006-01-21 09:54:53 +00:00
kleink
ce1abcb4d5 zoneinfo/SystemV is gone; forgot to commit this with tzdata2005r. 2006-01-21 09:54:03 +00:00
dsl
1253e7b15e Remove mount_kernfs and mbrlabel.
The kernfs filesystem is no longer in the install kernel, and the mbrlabel
is not needed because the kernel will generate a disklabel from the mbr
information.
2006-01-21 09:22:10 +00:00
uwe
530e77af35 Use foo &= ~(type)mask; instead of foo &= (type)~mask; to make lint happy.
While here, convert to uintN_t.
2006-01-21 04:57:07 +00:00
uwe
ffc34314e2 Add lint comments. Hide computed goto in cpu_reset() from lint.
Remove infinite loop from cpu_reset(), gcc accepts computed goto as
the sign that function never returns.
2006-01-21 04:26:56 +00:00
uwe
a1695713e9 Declare cpu_reset as __attribute__((__noreturn__)). 2006-01-21 04:24:12 +00:00
uwe
2f21a084a1 ANSI'fy. 2006-01-21 04:12:22 +00:00
uwe
d0928cda19 Lintable no-ops for LOCKDEBUG macros. 2006-01-21 03:57:48 +00:00
uwe
e4f6d0eca3 Hide RUN_P2 and RUN_P1 from lint.
Drop CONSTCOND as lint doesn't see that code now.
While here, tweak them a bit to use less casts.
2006-01-21 03:52:42 +00:00
uwe
c4888894b9 Use uint32_t. 2006-01-21 03:42:29 +00:00
uwe
92dfa6358c Tweak the way we compute displacement for bra/bsr.
Makes lint happy, makes code shorter too.
2006-01-21 02:09:06 +00:00
uwe
a5480590a9 "if (foo) return;" in one line is bad style. 2006-01-21 01:51:47 +00:00
uwe
f57593cc31 Use space in "static\tvoid". 2006-01-21 01:48:36 +00:00
uwe
696dfdc2f6 Use uint16_t instead of u_short for instructions.
There's no reason for buf argument to be unsigned char.
0x7f is not a printing character.
2006-01-21 01:45:34 +00:00
uwe
0df816cb4b Add CONSTCOND to DB_EXPR_T_IS_QUAD. 2006-01-21 01:11:43 +00:00
uwe
6167325eb6 Add NOTREACHED after calls to panic(). 2006-01-21 00:56:05 +00:00
uwe
de6525a736 There's no need to duplicate cpu type ifdef dance here. cputypes.h
already defines CPU_IS_SH[34] as constants for kernels that support
only single cpu type.
2006-01-21 00:46:36 +00:00
uwe
88d4d97511 Add CONSTCOND to make lint happy. 2006-01-21 00:40:36 +00:00
rpaulo
78678b130a Better support of IPv6 scoped addresses.
- most of the kernel code will not care about the actual encoding of
  scope zone IDs and won't touch "s6_addr16[1]" directly.
- similarly, most of the kernel code will not care about link-local
  scoped addresses as a special case.
- scope boundary check will be stricter.  For example, the current
  *BSD code allows a packet with src=::1 and dst=(some global IPv6
  address) to be sent outside of the node, if the application do:
    s = socket(AF_INET6);
    bind(s, "::1");
    sendto(s, some_global_IPv6_addr);
  This is clearly wrong, since ::1 is only meaningful within a single
  node, but the current implementation of the *BSD kernel cannot
  reject this attempt.
- and, while there, don't try to remove the ff02::/32 interface route
  entry in in6_ifdetach() as it's already gone.

This also includes some level of support for the standard source
address selection algorithm defined in RFC3484, which will be
completed on in the future.

From the KAME project via JINMEI Tatuya.
Approved by core@.
2006-01-21 00:15:35 +00:00
uwe
9899c1ae1d Fix the sense of #else/#endif comments. 2006-01-20 23:36:44 +00:00
christos
f69cef4676 Make _Exit an alias to _exit. 2006-01-20 22:03:23 +00:00
christos
3ffa241fcd Add a STRONG_ALIAS macro 2006-01-20 22:02:40 +00:00
christos
6eaa70365b Kill _Exit; breaks build on cygwin and this implementation "is not exactly
equivalent to calling _exit".
2006-01-20 22:02:07 +00:00
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