Commit Graph

185512 Commits

Author SHA1 Message Date
roy
dae79facc9 Hook openresolv into build. 2009-11-21 03:24:30 +00:00
rmind
3c2bd91e81 Use lwp_getpcb() on x86 MD code, clean from struct user usage. 2009-11-21 03:11:00 +00:00
roy
793621c9d3 Import openresolv-3.3.3
OK: core@, joerg@
2009-11-21 02:40:54 +00:00
skrll
af515df4eb Pull in fixes from binutils_2_19 branch.
Bump version and re-run mknative to pick up.
2009-11-20 22:51:29 +00:00
jakllsch
b492fcba55 Switch VT8237R SATA to via_sata_chip_map_7(). via_sata_chip_map_7()
works fine and is consistent with the other VIA SATA controllers.

Tested on VT8237R+.

(Somewhat amazing that via_sata_chip_map_0() worked at all for the
second port.)
2009-11-20 20:16:30 +00:00
dsl
ccd3c03880 EXT13_DEVPATH_SIGNATURE should be EXTINFO_DEVPATH_SIGNATURE 2009-11-20 19:25:37 +00:00
bouyer
7f7593a68d Remove duplicate PCI_PRODUCT_BROADCOM_BCM5709 entries.
BNX_MAX_MRU is now the 1500-bytes MTU; use BNX_MAX_JUMBO_MRU instead.
2009-11-20 18:24:29 +00:00
pooka
02a11f095f Generate fictional disklabel and return that from ioctl() instead
of the halfwitted semi-host semi-virtual ioctl nonsense that was
here previously.
2009-11-20 17:48:52 +00:00
pooka
93db30a1a9 Give rump virtual disks their own type. 2009-11-20 17:43:35 +00:00
dsl
8987b9ee60 Change relay address for mbr and bootxx code to be 0x8800.
I'm not sure why I used 0x600, but I have a feeling that might
sometimes corrupt bios data.
0x8800 is far enough above 0x7e00 for a sector read to the latter address.
2009-11-20 17:28:19 +00:00
pooka
071c062533 include components required by smbfs 2009-11-20 15:37:44 +00:00
agc
f8429fa3c9 Remove vestiges of debugging 2009-11-20 15:23:37 +00:00
agc
33ee8138ba When writing an ascii-armoured message, push the linebreak writer onto
the write function stack for the body of the message as well as the
headers.

This means that an ascii-armoured signed file created by netpgp conforms
to RFC 4880 (and 2440, thanks, moof[1]), and can be verified by gpg now, as
well as netpgp.

[1] Are there any other RFCs which are superceded by their double?
2009-11-20 15:21:18 +00:00
pooka
251fbb35dc Report actual group array size instead of 0 (which always gives back 0 grousp). 2009-11-20 14:24:58 +00:00
pooka
2a93cba43c In getgroups(), copy only up to the number of supplementary groups
that actually exist.
2009-11-20 14:23:54 +00:00
pooka
96ae77ca39 Add "wizardmode", which allows to specify the uid which is used to
access the file system instead of using the caller uid.  This is
useful for example when modifying the root fs image for an OS
installation without wanting to dance around as root on the host.

idspispopd
2009-11-20 14:11:38 +00:00
roy
fab5d12590 Allow chown if caller is in the new group. 2009-11-20 13:42:43 +00:00
pooka
fb54d5c528 Disallow chown for files the caller does not own. 2009-11-20 13:19:46 +00:00
pooka
59f20ea12d Hmm, in addition to leaving out -lc, -nostdlibs also leaves out
libgcc, and causes problems on some platforms.  Currently there is
no easy way to say "link against libgcc but not against libc", so
just comment out -nostdlibs until a better way is invented.
2009-11-20 12:24:17 +00:00
njoly
6afff4b463 Make linux32_msqid_ds l_msg_[src]time members use the right type,
linux32_time_t.
2009-11-20 11:54:08 +00:00
agc
632dc3ac9b Unbreak the creation of ascii-armoured signatures.
Add automatic detection of ascii-armoured signatures.

Add tests for same - with small and large source files.
2009-11-20 07:17:07 +00:00
rmind
80225f9670 Add lwp_getpcb(). OK matt@. 2009-11-20 03:12:13 +00:00
christos
e1121c3aa6 make atomics usable from c++! 2009-11-20 02:17:07 +00:00
christos
dd8534acfe ar_tha() can return NULL; treat this as an error. 2009-11-20 02:14:56 +00:00
christos
6b6eea3c51 allow comparing v2 and v3 filehandles. 2009-11-19 22:27:26 +00:00
dsl
9c09cc2745 Add 32 bit versions of message and dump_eax that write directly to
the serial port. Useful for debugging - especially real_to_prot!
2009-11-19 22:13:17 +00:00
dsl
bde6465dfb Move code for outputting directly to the serial port into message.S
Allows it to be enabled for other parts of the boot sequence.
2009-11-19 22:10:03 +00:00
dsl
cc7a493e8e Shorten slightly 2009-11-19 22:08:14 +00:00
agc
ad7bc21d21 Commit some changes that have been in a private tree for a while:
+ add a netpgp library function - netpgp_get_key(3) - to print a
specific key
+ add functionality to call this function in netpgpkeys(1)
+ add test for netpgp_get_key
+ add a verbose switch to the tst script
+ add netpgp functions to expose the memory signing and verification
functions - netpgp_sign_memory(3) and netpgp_verify_memory(3)
+ coalesced signing and verification ops file functions
2009-11-19 21:56:00 +00:00
drochner
9589066022 remove some unnecessary .OBJDIR prefixes in make targets
being here, add NetBSD.dist to CLEANFILES
2009-11-19 19:57:40 +00:00
skrll
71dad8f507 Fix itlb_cf and dtlb_cf. 2009-11-19 19:28:14 +00:00
pooka
c58b208bec Send VOP_ABORTOP() in case attempting cross-dev rename, part of
PR kern/42210.  Also, fix a memory management error in said case.
2009-11-19 16:21:04 +00:00
pooka
3214542837 Send VOP_ABORTOP() as a FAF -- we don't care about the return value. 2009-11-19 15:50:49 +00:00
pooka
8e8d412248 Create async i/o "interrupt" thread from within the kernel so that
it gets a kernel thread context.
2009-11-19 14:44:58 +00:00
pooka
1de15b17c4 * don't open device when calling getfileinfo(), it might need to open
the device and will f-a-i-l if it's a block device
* use rumpuser_ioctl() as little as possible (going away completely
  wewy wewy soon)
* improve some variable scoping
2009-11-19 13:46:55 +00:00
pooka
e7c51ca379 .. umm, and use correct device value for previous.
And use 64bit arithmetic.
2009-11-19 13:42:29 +00:00
pooka
69eddfb6c5 Improve host file size detection for devices (i.e. make it work).
Use ioctl() on NetBSD since it appears to be the only way to get
the info.  On other platforms, attempt lseek() and if that doesn't
work, punt, and hope someone comes along with a better implementation
later.
2009-11-19 13:25:48 +00:00
wiz
af753b56d3 New sentence, new line; remove trailing whitespace. 2009-11-19 06:48:37 +00:00
enami
07ab814664 Fix indentation, wrap long line and remove unused variable. 2009-11-19 03:01:05 +00:00
enami
9f91c09ebc Add missing vfs_unbusy() call in error path of sysctl_kern_vnode().
This allows us to reboot machine successfully even if pstat -v fails once.
2009-11-19 02:59:33 +00:00
enami
29551a2991 Prevent sign extension when reading device number in ufs1 on disk inode
so that devname(3) correctly converts it to device filename.
2009-11-19 02:52:54 +00:00
sjg
9772f81de8 Add .unexport - the exact opposite of .export
and .unexport-env which unexport's all previously .export'd globals
as well as clearing environ[].
Allow's sys.mk near total controll.

Reviewed by: apb
2009-11-19 00:30:25 +00:00
sjg
b87966b319 PR: make.unexport
Reviewed by:
2009-11-19 00:30:24 +00:00
sjg
f3c8b50aa4 Add .unexport - the exact opposite of .export
and .unexport-env which unexport's all previously .export'd globals
as well as clearing environ[].
Allow's sys.mk near total controll.

Reviewed by: apb
2009-11-19 00:30:24 +00:00
bouyer
33ba652f9b bnx(4): Added support for Broadcom BCM5709 and BCM5716 chips. 2009-11-18 23:13:09 +00:00
bouyer
1f4d2fce07 Sync with OpenBSD: if_bnx.c,v 1.85. Major changes:
Add support for the Broadcom BCM5709 and BCM5716 chips. This upgrade
the B06 firmware, and add the B09 firmware required by the BCM5709.
Remplace TX dmamap array with a dynamically-grown list.

Tested with:
bnx0 at pci4 dev 0 function 0: Broadcom NetXtreme II BCM5708 1000Base-T
and
bnx0 at pci0 dev 0 function 0: Broadcom NetXtreme II BCM5709 1000Base-SX
2009-11-18 23:11:16 +00:00
bouyer
e864a44956 Support BCM5709CAX and BCM5709C PHYs. 2009-11-18 23:02:12 +00:00
bouyer
037713ff86 Regen: Add BCM5709CAX and BCM5709C PHYs. 2009-11-18 23:01:47 +00:00
bouyer
d4753b2acd Add BCM5709CAX and BCM5709C PHYs. 2009-11-18 23:00:46 +00:00
bouyer
0ba7ca8106 Regen: Complete BROADCOM BCM5709 family, and add BCM5716 family. 2009-11-18 22:59:56 +00:00