John Baldwin
695e8d536c
Add freebsd32 compat wrappers for msgctl() and __semctl() using
...
kern_msgctl() and kern_semctl().
MFC after: 1 week
2007-12-06 23:36:57 +00:00
John Baldwin
3c39e0d8d4
Add freebsd32 compat wrappers for msgctl() and _semctl() using
...
kern_msgctl() and kern_semctl().
MFC after: 1 week
2007-12-06 23:35:29 +00:00
John Baldwin
d43c6fa4fe
Move 32-bit SYSV IPC structure definitions into freebsd32_ipc.h.
...
MFC after: 1 week
2007-12-06 23:23:16 +00:00
Xin LI
745973bd99
size_max should be unsigned, as such, use size_t here.
2007-12-06 23:19:05 +00:00
Olivier Houchard
91f2b6797a
Erm, add a missing else, we do not want to increase the mapping counters for
...
both kernel and userland when we create a pv for pmap_kernel.
Reported by: Mark Tinguely <tinguely AT casselton DOT net>
MFC After: 3 days
2007-12-06 23:17:24 +00:00
John Baldwin
74427aa423
Move several data structure definitions out of freebsd32_misc.c and into
...
freebsd32.h instead.
MFC after: 1 week
2007-12-06 23:11:27 +00:00
Julian Elischer
dbec798a76
Remove more dup'd code
...
MFC After: 1 week
2007-12-06 22:48:24 +00:00
Julian Elischer
90b3552e6e
remove duped code
...
Reviewed By: gnn
MRC after: 1 week
2007-12-06 22:44:24 +00:00
Julian Elischer
bf3ce91a99
No need to assert that a == b when we just set a = b.
2007-12-06 22:40:17 +00:00
Ulf Lilleengen
884d1375fc
- Add support for all geom class command options in the Fixit environment by
...
pointing GEOM_LIBRARY_PATH to the geom libraries.
PR: misc/113543
Submitted by: Ed Schouten <ed -at- fxq.nl>
Approved by: pjd (mentor)
MFC after: 1 day
2007-12-06 20:25:31 +00:00
Kip Macy
8160baf419
Change uint8_t to equivalent base language type and add line break where 80
...
characters is exceeded in bit macros
Requested by: Bruce Evans
2007-12-06 19:11:14 +00:00
Ed Maste
718b6516c0
Add new controllers supported by rev 1.64 and 1.65 of aac_pci.c
2007-12-06 18:31:57 +00:00
Ed Maste
8af086fd5c
Add more PCI ID's from Adaptec's driver, including two requested
...
by Daniel Kamm.
Adaptec RAID 51245
Adaptec RAID 51645
Adaptec RAID 52445
Adaptec RAID 5405
Sun STK RAID REM
Sun STK RAID EM
SG-XPCIESAS-R-IN
SG-XPCIESAS-R-EX
2007-12-06 18:25:29 +00:00
Dag-Erling Smørgrav
6c7faee24f
Simpler version of the previous commit.
2007-12-06 09:31:13 +00:00
John Baldwin
f97a705a99
Only attach to a GPT partition if it has the GPT_ENT_TYPE_FREEBSD type.
...
XXX: This only works currently with GEOM_GPT which only exists in 6.x.
XXX: I didn't add 'mbroffset' support for a GPT partition holding a BSD
label as I'm not sure if they use relative or absolute offsets.
MFC after: 3 days
2007-12-06 09:20:27 +00:00
John Baldwin
b850a685ce
Add several missing comma's in the fancy syscall parsing case before
...
some arguments that are parsed (e.g., semctl command names).
MFC after: 3 days
2007-12-06 08:49:43 +00:00
Daniel Eischen
396a73603d
Set the tcb (thread control block) in the child process after a fork.
...
This protects against a race with an upcall in the parent during the
fork which can clobber the parent's tcb before the vm space is copied
in the child. The child then gets a corrupted tcb that is either null
or that points to another thread that doesn't exist in the child (after
a fork, only the fork()ing thread exists in the child).
Reported by: Arno J. Klaassen (arno at heho / snv / jussieu / fr)
2007-12-06 06:04:01 +00:00
Kip Macy
208e56cb04
Respect the fact that the value a may be constant so cast to const uint8_t *
2007-12-06 04:00:59 +00:00
Marcel Moolenaar
5aaa8fefdf
Add a BSD disklabel backend to g_part:
...
o Disklabels can have between 8 and 20 partitions (inclusive).
o No device special file is created for the raw partition.
o Switch ia64 to use this backend.
o No support for boot code yet.
2007-12-06 02:32:42 +00:00
Ed Maste
e9faf6c240
Add PCI IDs for additional cards:
...
AOC-USAS-S4i
AOC-USAS-S8i
AOC-USAS-S4iR
AOC-USAS-S8iR
AOC-USAS-S8i-LP
AOC-USAS-S8iR-LP
2007-12-06 02:10:07 +00:00
Nate Lawson
52604c49a6
Hold Giant over the entire execution of the suspend path instead of
...
dropping it after each call into newbus. This doesn't fix any known
problems but seems more correct.
Submitted by: Marko Zec <zec / icir.org>
2007-12-06 01:39:23 +00:00
Randall Stewart
9c04b2966d
- optimize the initialization of the SB max variables.
...
- Missing lock when sending data and moving it to the
outqueue.
- If a mbuf alloc fails during moving to outqueue the
reassembly of the old mbuf chain was incorrect.
- some_taken becomes a counter in sctputil.c instead of a set to 1.
- Fix a panic to be only under invarients and have a proper recovery.
- msg_flags needed to be set.to the value collected not or'd.
MFC after: 1 week
2007-12-06 00:22:55 +00:00
Kip Macy
32089e4962
Fix bit macros to work on multi-byte types
...
MFC after: 1 day
2007-12-05 23:48:03 +00:00
Philip Paeps
e383ee75af
Fix a use-after-free.
...
Submitted by: Ilja van Sprundel <ilja -at- netric.org>
Reviewed by: secteam
MFC after: 1 day
2007-12-05 19:32:59 +00:00
Philip Paeps
6c3c35e413
Plug two potential (root-only, local) information leaks. buf is not
...
initialized before use and returned integrally instead of up to size.
Submitted by: Ilja van Sprundel <ilja -at- netric.org>
Reviewed by: secteam
MFC after: 1 day
2007-12-05 19:32:07 +00:00
David E. O'Brien
817a9ffcc4
style(9)
2007-12-05 18:00:41 +00:00
David E. O'Brien
77454fb40f
Reenable the Amd build. 'make world' passed on my amd64 8-CURRENT system.
2007-12-05 17:54:59 +00:00
Jung-uk Kim
cd765a6594
Teach dhclient(8) about net80211 link (association) status.
...
Reviewed by: brooks
MFC after: 3 days
2007-12-05 17:13:45 +00:00
David E. O'Brien
aa1670f3e4
Put stock 6.1.5 file into HEAD.
2007-12-05 16:57:05 +00:00
David E. O'Brien
1e2f6b2e5f
Not sure why mbr deleted this file - its useful.
2007-12-05 16:56:42 +00:00
David E. O'Brien
66a621602d
Teach Amd how to unmount.
2007-12-05 16:50:48 +00:00
David E. O'Brien
f6ab204a30
Accidently created the file with the wrong name.
2007-12-05 16:49:16 +00:00
David E. O'Brien
018facb941
'amu_autofs_prot.h'
2007-12-05 16:47:52 +00:00
David E. O'Brien
c8c5072580
Adjust for new files added to 6.1.5, and files retired from 6.0.10p1.
...
Also TCP Wrappers is now supported.
Also tweak the MK_HESIOD.
2007-12-05 16:40:05 +00:00
David E. O'Brien
3059d0275b
Update for version 6.1.5.
2007-12-05 16:38:29 +00:00
David E. O'Brien
5f03573d96
We now have to use part of the vendor supplied xdr_func.c.
...
util renamed to strutil to be more clear of its purpose.
2007-12-05 16:27:03 +00:00
David E. O'Brien
065b518c8b
These now need to link with libamu.
2007-12-05 16:25:43 +00:00
David E. O'Brien
105f3b4415
Add new BUILD_* knobs, and switch our definition & setting of BUILD_*
...
and configured settings.
2007-12-05 16:23:34 +00:00
David E. O'Brien
c640c5f4d9
Autoconf would have created a symlink from conf/autofs/autofs_default.h
...
to autoamu_autofs_prot.h. It is easier to just create shell header within
the Bmake framework.
For now it's a stub - fill out when we know our Autofs direction.
2007-12-05 16:21:44 +00:00
David E. O'Brien
6c35d3a23a
2005-05-28 Erez Zadok <ezk@cs.sunysb.edu>
...
* libamu/alloca.c: remove file from distro.
2007-12-05 16:18:44 +00:00
David E. O'Brien
654a1788fb
2005-10-02 Erez Zadok <ezk@cs.sunysb.edu>
...
* libamu/strutil.c: rename from util.c to explain better purpose
of file.
2007-12-05 16:16:56 +00:00
David E. O'Brien
0b9f1067ff
2005-03-05 Ion Badulescu <ionut@moisil.badula.org>
...
* amd/amfs_inherit.c: removed, dead code
2007-12-05 16:05:26 +00:00
David E. O'Brien
f126af8a17
Include support for FreeBSD's <fs/msdosfs/msdosfsmount.h>.
...
Also <ufs/ufs/ufsmount.h> is safe to use.
2007-12-05 16:03:52 +00:00
David E. O'Brien
e980435124
Merge rev. 1.7 (change mounting directory to match traditional FreeBSD
...
/etc/defaults/rc.conf) into 6.1.5.
2007-12-05 16:00:42 +00:00
David E. O'Brien
108897f10c
Merge the 6.0.10p1 -> 6.1.5 changes into our manpages.
2007-12-05 15:59:34 +00:00
David E. O'Brien
16fdd0c062
This commit was generated by cvs2svn to compensate for changes in r174294,
...
which included commits to RCS files with non-trunk default branches.
2007-12-05 15:48:03 +00:00
David E. O'Brien
ad8bcc147f
Virgin import of AMD (am-utils) v6.1.5
...
Sponsored by: Juniper Networks
2007-12-05 15:48:03 +00:00
David E. O'Brien
04e1a1152f
Temporarily disable amd for import.
2007-12-05 15:35:25 +00:00
Randall Stewart
cf70a46b47
- Puts default limits on 4k/9k and 16k zones for mbufs all based
...
on 1/2 of each of the successive limits tied to the limit for
2k clusters.
- Adds real functionality in so that doing a sysctl to change these
actually changes them :-)
MFC after: 1 week
2007-12-05 15:29:44 +00:00
David E. O'Brien
a64b8e0693
Delete from the vendor brach a few things that are dead on head.
...
(they should have been removed here instead of on HEAD in the first place...)
2007-12-05 14:20:32 +00:00