Commit Graph

173832 Commits

Author SHA1 Message Date
chs
1f98baea49 in cpu_hatch(), set PIR when the current value is not what we need
rather than only when it's zero.
2008-10-04 17:20:06 +00:00
skrll
8c9056ada8 lib/39649: dlsym(3) does not follow dependencies
Pull across code from FreeBSD to do a search of the passed object and it's
NEEDED objects (dependencies).

Reviewed by gimpy.
2008-10-04 09:37:12 +00:00
apb
3c2b458230 In both postinstall and etcupdate, in modes where the -s argument
refers to tgz files or to a directory in which tgz files have already
been extracted, make it an error for the files that should have come
from etc.tgz to be missing.  This is intended to prevent users from
accidentally deleting necessary files when they run "postinstall -s
xetc.tgz fix".

Use the absence of .../etc/mtree/set.etc in the extracted directory
as a test for the error case.
2008-10-04 08:07:38 +00:00
cube
39d1e319db Add previously not installed headers. 2008-10-04 02:32:26 +00:00
cube
bec5a8dca0 - install missing headers (reported by hubertf@ through proxy jmcneill@)
- clean up creation/installation of freetype-config
2008-10-04 02:29:15 +00:00
pooka
308b8af180 POOL_INIT -> pool_init 2008-10-04 00:09:34 +00:00
njoly
1b1270d3b5 Compat linux/linux32 nice(2) fix. The syscall argument is an increment
to be added to the current nice value, not an absolute value to be
set.
2008-10-03 22:39:36 +00:00
pooka
224186c110 Fix pointer size typo - affects only debug output.
Henning Petersen, PR lib/39689
2008-10-03 18:33:06 +00:00
jnemeth
39b2f9c158 PR/39687 - Henning Petersen -- comment typo 2008-10-03 18:09:48 +00:00
pooka
e0b14794fc Hallo, pool_init(). Auf wiedersehen & byebye, link set POOL_INIT(). 2008-10-03 16:22:33 +00:00
pooka
8c1c8c2229 fix example: ONCE_DECL(), not DECL_ONCE() 2008-10-03 16:19:46 +00:00
rmind
97561001a3 Replace more intptr_t to uintptr_t when casting VA. 2008-10-03 14:52:11 +00:00
bouyer
473d83f87f Make sure the adapter is ready to accept FISs before bringing the PHY up.
Wait for the BSY bit to clear in the status register.
Makes the cdrom drive probe properly on a ATI SB600 controller in AHCI
mode.
2008-10-03 13:02:08 +00:00
adrianp
2f48b72832 Fix for CVE-2008-3530 from matt@
Implement improved checking for MTU values on ICMP 'Packet Too Big Messages'
2008-10-03 08:23:06 +00:00
macallan
884d2768b4 use -DAVOID_VGAHW on sparc(64) - needed for XVR-100 2008-10-03 05:16:22 +00:00
macallan
67c4d710e0 actually pass -DPCI_VIA_TTYE0 on sparc(64), also don't overwrite other
options
2008-10-03 05:14:01 +00:00
cube
4115750e23 Remove entry about app-config. We install all of such utilities now. 2008-10-03 04:04:00 +00:00
cube
50c01ad317 Move freetype-config to xcomp, and note installation of xft-config, with
manual.
2008-10-03 03:53:22 +00:00
cube
b49691b726 Create and install xft-config(1). LGFM'd by mrg@. 2008-10-03 03:52:15 +00:00
cube
bfc91207f2 xcursor.pc is taken care of, and xcursor-config is no more, so g/c .if 0
related code.
2008-10-03 02:29:22 +00:00
pooka
ad9bbd7b26 Add a very simplistic PF_INET/SOCK_DGRAM domain/proto implementation,
which delegates the work to host kernel sockets.  This does not
run the entire kernel TCP/IP stack in userspace and therefore does
not require the ability to send or receive raw packets.  This
implies that root priviledges are not required.  As already said
above, only supports UDPv4 for now.  Extending should be easy.
2008-10-02 21:59:19 +00:00
pooka
982852e71e Add some routines related to networking. 2008-10-02 21:37:59 +00:00
bouyer
2887906e27 Kill ATACH_TH_RUN and use cpu_intr_p() instead. 2008-10-02 21:05:17 +00:00
joerg
21150ac7ce pkg_install-20081002:
Explicitly cast time_t values to long before printing them.
Reported by bjs.
2008-10-02 20:49:40 +00:00
pooka
fc745dffe8 Remove rumpuser_yield(). Not only doesn't it really make sense
here, some kind soul made it completely empty.
2008-10-02 19:37:23 +00:00
joerg
39741d2848 Hook up libfetch and pkg_install update. 2008-10-02 17:54:51 +00:00
christos
c33f6f922e quote {} 2008-10-02 15:39:43 +00:00
pgoyette
f51b492004 Remove reference to sdtemp.4 - committed in error 2008-10-02 11:05:23 +00:00
wiz
dc9400e90c Drop trailing whitespace; bump date for previous. 2008-10-02 09:11:28 +00:00
sborrill
38f52fbaa5 Add example using installboot -e 2008-10-02 08:51:22 +00:00
sborrill
44c025d1f1 Add note about aac(4) being updated to supported >2TB arrays 2008-10-02 08:25:33 +00:00
sborrill
85b692fb65 Add support for >2TB arrays and implement raw I/O mode which is a
requirement for this.

N.B. Still to do - move dump on ld to 64-bit disk addresses
2008-10-02 08:21:57 +00:00
wiz
6f5813fea3 Whitespace changes (including new sentence, new line).
Uppercase Dt argument.
Use more macros.
2008-10-02 07:55:26 +00:00
pgoyette
d5697e7834 Add dbcool ki2c attachment for macppc 2008-10-02 00:55:43 +00:00
pgoyette
4d6d694c47 Add dbcool man page and associated links 2008-10-02 00:52:17 +00:00
pgoyette
0219f2ad21 Add new driver for dbCool(tm) family of Thermal Monitor and Fan Controller.
Supported chips: ADM1027, ADM1030, ADT7463, ADT7466, ADT7467, ADT7468,
ADT7473, ADT7475, and ADT7476.  Notably missing is the ADT7490, and fan
controller support on the ADT7466 is still on the to-do list.

Tested by myself and njoly@
Reviewed by garbled@
Commit approved by christos@, bouyer@, cube@, and matt@
2008-10-02 00:47:51 +00:00
christos
9766bcabdc put back matchchars 2008-10-01 21:20:09 +00:00
bouyer
04f65cb049 Use a separate thread to probe/attach atabus's childrens. Fixes a deadlock
where the interrupt routine wants to wake up the atabus thread to perform a
reset, while the thread is blocked in wd's attach function.
2008-10-01 18:23:55 +00:00
christos
c11d4b42be regen 2008-10-01 17:16:15 +00:00
rmind
b312c56767 PR/39664: Dave Huang: ip_mrouter_done: free hash using hashdone(9). 2008-10-01 16:01:51 +00:00
christos
98f48d5f26 ICH10 support from Brad du Plessis 2008-10-01 15:38:14 +00:00
christos
26d7c490fb mention the delete bug in the man page. prompted by perry. 2008-10-01 12:43:46 +00:00
hannken
597afdd860 Make fss(4) D_MPSAFE.
- Use the device lock to protect fss_open(), fss_close() and fss_unmount_hook().
- Make sure fss_bs_thread() does not call biodone() with locks held.

Reviewd by: Andrew Doran <ad@netbsd.org>
2008-10-01 10:45:11 +00:00
joerg
a3ad79d9ac Add missing RCS ID. 2008-10-01 07:53:27 +00:00
joerg
830aad849c Make RCSID() use section .ident like the C version and i386's asm does.
OK ad@
2008-10-01 07:42:52 +00:00
uebayasi
08912a35bf Typo in a comment. 2008-10-01 02:44:14 +00:00
pooka
43242e6cbe Make spec_fsync() a do-nothing instead of a do-panic. Some file
systems have it directly in the specfs op vector.
2008-09-30 21:47:33 +00:00
pooka
f4da52c698 Since the nfs root vnode is eternally constant, fully initialize
it in mountfs instead of deferring part of the initialization to
VFS_ROOT().  Fixes theoretical future bugs for nfs roots.
2008-09-30 21:12:48 +00:00
pooka
85ca5618f1 Check that we apply the previous kludge only to the root vnode. 2008-09-30 21:00:39 +00:00
christos
ffa1f2c907 Fix symlink lossage:
- Use lstat instead of stat to find the destination path. we can make a symlink
  to a broken symlink this way.
- When calling process to create a link, check if the source is a symlink
  instead of trying to remove what the symlink points to!
- Don't create hard links to directories.

XXX: NB. Still sup is broken when used with the delete option. This is because
in the delete pass, it goes and tries to delete all files in the old list
that don't exist in the new list. This is a problem when a directory becomes
a symlink to a hierarchy that contains the same names. Then sup will cross
the symlink and start deleting files and directories from the destination.
This is not easily fixed. Don't use sup with symlink/rsymlink and the delete
option at the same time or *be careful*!
2008-09-30 20:49:14 +00:00