Commit Graph

134611 Commits

Author SHA1 Message Date
yamt
751e975bfc handle partial reads. PR/29484. 2005-02-22 21:45:44 +00:00
briggs
dcfd337d24 pmap_extract(): Only attempt to set '*pap' if pap is non-NULL.
PR port-powerpc/29507 from Neil Ludban.
2005-02-22 21:06:56 +00:00
christos
6dfb4cf082 add macppc bind compilation work-around. 2005-02-22 18:47:09 +00:00
christos
85962585ac Remove inline from rotate_{left,right}. Breaks compilation with gcc-3.3
and macppc. It is fixed in gcc-3.4
2005-02-22 18:42:15 +00:00
peter
0f31823d7c Write IPv4 and IPv6 with a small 'v'. 2005-02-22 16:53:11 +00:00
martin
7cbebc44aa Cleanup: the PG_SZ macro was buggy (pointed out by Tim Newsham).
It was only used by (the also buggy/not ready for prime time) PMAP_PAGE_SIZE,
which in turn only was used in one place.

Get rid of all this and hardcode the result at the single place of use.
2005-02-22 16:21:07 +00:00
heas
e8dfc3dc8e Re-gen for sysctl emulation 2005-02-22 16:16:48 +00:00
heas
b8fe1f6779 Add FreeBSD sysctl emulation for their undocumented special OIDs rooted at
OID 0.  Only OID 0.3 is implemented for now, it 0.3 is the equivalent of
NetBSD's sysctlgetmibinfo().
This includes a new sysctl kern.osreldate with the value __NetBSD_Version__
for kernels with COMPAT_FREEBSD.

Both of these are used by 3ware's FreeBSD tw_cli, which seems to work now.
2005-02-22 16:14:50 +00:00
wiz
3748b0d6f7 Add xref to openpam_free_data (for man page). 2005-02-22 15:22:02 +00:00
wiz
d2ef6b97b8 Add sections to some functions so xrefs in man page will be correct. 2005-02-22 15:21:26 +00:00
wiz
ea9fa3e293 Some fixes:
. add RCS Id to generated man pages
. fix for =cleanup (special case for one man page, sorry)
. sort xrefs in SEE ALSO correctly.
2005-02-22 15:20:48 +00:00
wiz
cf3e23f3e8 Use Ar for function argument. 2005-02-22 15:15:51 +00:00
christos
b74b94a591 PR/29505: Nicolas Joly: Increase width of csw value in systat vmstat. 2005-02-22 15:13:57 +00:00
chs
02376e86ad pc532 no longer abuses cf_unit. 2005-02-22 14:47:34 +00:00
chs
e03cd70434 require that the register address and irq be specified in the config file
instead of inferring them from the unit number.
2005-02-22 14:42:17 +00:00
peter
1c9b56c830 Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
2005-02-22 14:39:58 +00:00
chs
0ee1494529 use bitwise-or instead of addition to combine tty flags. 2005-02-22 14:39:52 +00:00
grant
cc35f337dc +RIFF 2005-02-22 12:24:44 +00:00
sketch
fbdc9c3fcb Use hostname(1) in preference to uname(1) in case /usr isn't mounted. 2005-02-22 09:12:17 +00:00
sketch
28dfc695f0 Revision 1.2 of dot.shrc changed the prompt to use a HOST variable without
setting it anywhere, so set it here.
2005-02-22 08:28:34 +00:00
lukem
713967467d Move etc/release from etc.tgz to base.tgz, since the "build" target
in src/Makefile installs it (thus, being more consistent).
Should fix "./build.sh install=/" installation of /etc/release.
Requested by Hubert Feyrer (amongst others).
2005-02-22 07:39:25 +00:00
matt
413f4d4de6 Don't clear PCB_FPU/PCB_ALTIVEC when releasing the FPU/AltiVec unit. Add
new flags to indicate whether the PCB currently owns the FPU/AltiVec unit.
2005-02-22 02:59:46 +00:00
elric
3e9f769ad6 Turn protocol 1 krb5 support back on. 2005-02-22 02:29:32 +00:00
wiz
823387f1c8 Drop some whitespace
XXX: -p not described.
2005-02-22 01:49:20 +00:00
christos
97552a9c4d Update for ppp and passwd. 2005-02-22 01:09:29 +00:00
christos
11e49612c8 Add a PAM passwd module.
XXX: This avoids the issue of supporting separate -l -y -k, but is the behavior
correct? Should passwd -p disable all other passwd methods? Should it become
the default if compiled in?
2005-02-22 01:08:43 +00:00
christos
bc42aa47c9 Add PAM hooks. 2005-02-22 00:34:27 +00:00
heas
a83cf36dd1 GC SUNKBDDISC & SUNMSDISC line discipline slot definitions. Both are already
entered by ttyldisc_add() calls such that ttyldisc_add chooses the slot anyway.
Double checked by Martin.
2005-02-21 22:43:07 +00:00
martin
65c3e91025 When we call m_makewritable() the mbuf might be copied - so don't use
stale mtod()'d pointers from before.
2005-02-21 22:01:52 +00:00
christos
24db4c5a14 Re-arrange code slightly to avoid code duplication and allow to bail
out faster without doing de-capsulation work. From FreeBSD.
2005-02-21 21:37:22 +00:00
christos
e98083ea54 - remove MEMORY_DISK_HOOKS
- add LKM
- increase SYMTAB_SPACE
2005-02-21 20:36:37 +00:00
christos
e42df4bc1c Add missing wsfont. 2005-02-21 20:35:13 +00:00
yamt
70df2f92f0 test input from pipe, on which short-read can happen.
currently fails due to inappropriate error checks.
2005-02-21 20:08:18 +00:00
hannken
1d85e05ec4 Make `options FFS_NO_SNAPSHOT' only disable snapshot creation
while not trashing existing snapshots.

Approved by: core@
2005-02-21 17:52:11 +00:00
pooka
118b813a31 let the world know it's file 4.13 for us now 2005-02-21 15:33:49 +00:00
pooka
fcb550ad2b Make building a bit more automatic by borrowing the rest of the
generated auto-payload from the vendor branch.  Now it works.
(and no, this has of course nothing to do with the version 4.*13*,
there are greater powers at play)
2005-02-21 15:25:57 +00:00
pooka
ef5d11d8e1 import python also + nuke one extra linefeed when adding RCSId's 2005-02-21 15:25:56 +00:00
pooka
2fb3e4a058 Make building a bit more automatic by borrowing the rest of the
generated auto-payload from the vendor branch.  Now it works.
(and no, this has of course nothing to do with the version 4.*13*,
there are greater powers at play)
2005-02-21 15:25:56 +00:00
pooka
373a872a16 autoconf-stuff wants the python-dir when building tools/file, so
it's just easier to import this small amount of extra payload than
to attempt a war on autotools.
2005-02-21 15:16:06 +00:00
he
ca40af413b Probe and print the Intel Extended Feature Bits, as documented
in the CPUID instruction description in the "Intel Extended Memory 64
Technology Software Developer's Guide, Volume 1 of 2" available at
ftp://download.intel.com/technology/64bitextensions/30083402.pdf

This presently consists of the SYSCALL/SYSRET and the EM64T features.
CPUs with the EM64T feature available should be able to run amd64 code.

Reviewed by fvdl
2005-02-21 15:10:51 +00:00
pooka
5b40621389 conflicts 2005-02-21 15:00:04 +00:00
pooka
dfba91ada0 file 4.13
Just the usual bugfixes and magic additions, nothing major.
2005-02-21 14:32:55 +00:00
cube
88aa34aadf Include <bsd.own.mk> to get NETBSDSRCDIR definition before we use it in
.PATH.  Reported by Geoff Wing.
2005-02-21 06:41:20 +00:00
simonb
b6dcc6d5d8 Print a nice introductory line, per SUSv3 (and Posix?) 2005-02-21 04:32:55 +00:00
heas
242eaf2f4c oops, missed adding a return value for KBD_LAYOUT 2005-02-21 03:46:38 +00:00
heas
3242b332ff Place busy loops around the tsleep()s for keyboard ID and layout codes in
the attach routine.  In autoconf or "cold" state, tsleep does not wait for
a wakeup and my type 5 keyboard takes around 70ms to reset, so the keyboard
ID was being missed (read much later on) and key translation would be wrong.
Thanks Martin, Jochen, and Jason for help.
2005-02-21 03:37:39 +00:00
thorpej
2f8e8079d1 Define M_CSUM_DATA_IPv4_IPHL() and M_CSUM_DATA_IPv4_OFFSET() macros
to extract data from csum_data, rather than just open-coding it.
2005-02-21 02:12:48 +00:00
chs
ec9c09f652 allow profiling of MP kernels, add a spinlock around the body of mcount(). 2005-02-21 01:17:29 +00:00
chs
e391dc1118 fix a missed proc->lwp conversion so this builds with DIAGNOSTIC. 2005-02-21 00:57:38 +00:00
thorpej
df9803ce96 Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.
2005-02-21 00:29:06 +00:00