Commit Graph

156258 Commits

Author SHA1 Message Date
hubertf 6eb43c8c6d TSEL() is const char* now 2007-02-18 01:48:37 +00:00
pavel 11f19508fd Accept the old ABI versions of signal trampolines for 32-bit
compatibility. Unbreaks the i386 cvsup binary on amd64.

Problem reported by Blair Sadewitz and Viktor Holmlund, fix tested by
Viktor Holmlund.
2007-02-18 01:45:37 +00:00
hubertf d823788fde Make TSEL() return char* instead of void*
Doing this as remote hands for dyoung@.
This gets ifconfig compiled again.
2007-02-18 00:56:53 +00:00
wiz 216334ea2c Bump date for previous. 2007-02-18 00:46:47 +00:00
hubertf 002621f0bc Try to tell what this really does.
Including a BUGS section on why it doesn't.

*roff code by wiz@, with some input from
Slava Semushin <slava.semushin@gmail.com>
2007-02-18 00:38:22 +00:00
pooka 6f8e93a61f support some more fuse interfaces required for setattr:
utimens, utime, truncate and ftruncate
2007-02-18 00:01:18 +00:00
jmcneill e9a5822887 Add example config file for Netgear WGT624 v3 wireless router. 2007-02-17 23:26:03 +00:00
jmcneill 692a0ae545 Only define COM_ARBUS_BAUD if not already defined elsewhere. 2007-02-17 23:25:26 +00:00
jmcneill 2b24c5c8d5 Regen. 2007-02-17 23:24:44 +00:00
jmcneill bc130a3a9b Add Marvell 88E6060 10/100 5-port PHY switch 2007-02-17 23:24:32 +00:00
jmcneill 737605ff0b Enable mvphy(4) 2007-02-17 23:24:01 +00:00
jmcneill 046f6fb760 Add a default "dumb" mode, that adds all ports to the same interface. 2007-02-17 23:23:38 +00:00
pooka 29d5922025 #include <ucontext.h> 2007-02-17 23:00:16 +00:00
pavel f5e7ca2447 Revert the changes done after newlock2 merge, except for the removal of
the now unused LSDEAD state. The current kernel headers are now
source-compatible with pre-newlock2 kernel headers again.

Approved by Andrew Doran.
2007-02-17 22:49:56 +00:00
dsl 1547309b01 Pretend the ddb code has proclist_lock held to stop any deadlock. 2007-02-17 22:47:42 +00:00
dyoung 5493f188c7 KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous
parentheses in return statements.

Cosmetic: don't open-code TAILQ_FOREACH().

Cosmetic: change types of variables to avoid oodles of casts: in
   in6_src.c, avoid casts by changing several route_in6 pointers
   to struct route pointers.  Remove unnecessary casts to caddr_t
   elsewhere.

Pave the way for eliminating address family-specific route caches:
   soon, struct route will not embed a sockaddr, but it will hold
   a reference to an external sockaddr, instead.  We will set the
   destination sockaddr using rtcache_setdst().  (I created a stub
   for it, but it isn't used anywhere, yet.)  rtcache_free() will
   free the sockaddr.  I have extracted from rtcache_free() a helper
   subroutine, rtcache_clear().  rtcache_clear() will "forget" a
   cached route, but it will not forget the destination by releasing
   the sockaddr.  I use rtcache_clear() instead of rtcache_free()
   in rtcache_update(), because rtcache_update() is not supposed
   to forget the destination.

Constify:

   1 Introduce const accessor for route->ro_dst, rtcache_getdst().

   2 Constify the 'dst' argument to ifnet->if_output().  This
     led me to constify a lot of code called by output routines.

   3 Constify the sockaddr argument to protosw->pr_ctlinput.  This
     led me to constify a lot of code called by ctlinput routines.

   4 Introduce const macros for converting from a generic sockaddr
     to family-specific sockaddrs, e.g., sockaddr_in: satocsin6,
     satocsin, et cetera.
2007-02-17 22:34:07 +00:00
pavel 934634a18c Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.
2007-02-17 22:31:36 +00:00
pooka b44590b7d0 * document -s
* explicitly mention that this implements sshfs functionality
2007-02-17 22:19:20 +00:00
he 4e2ac45a91 Add the new rwlock.h and mutex.h header files. 2007-02-17 22:00:25 +00:00
he 682c6059c1 Install the new rwlock.h file. 2007-02-17 21:59:07 +00:00
dsl bcedbf7f41 Acquire proclist_lock in pgid_in_session() so we don't reference potentially
stale proc & pgrp pointers.
2007-02-17 21:46:13 +00:00
dsl c8a3495cd1 Acquire proclist_lock across the p_find() and pg_find() calls while
processing FIOSETOWN and TIOCSPGRP ioctls.
2007-02-17 21:43:08 +00:00
dsl 2b491f69ce Acquire proclist_lock across the calls to p_find() and pg_find(). 2007-02-17 21:40:19 +00:00
dyoung 10c063a777 In pf_rtlabel_match, use rtcache_free()/rtcache_init(). This is
just cosmetic, since the whole routine is presently #if 0'd.
2007-02-17 21:08:52 +00:00
rmind 27c80c165c Mention rmind@ as an author in the license. No functional change. 2007-02-17 20:45:36 +00:00
dyoung 8d267ee73a 0 -> NULL 2007-02-17 20:38:05 +00:00
dyoung bd8d36adeb Use the ("%s: ...", __func__) idiom to correct function names and
help them stay correct.
2007-02-17 20:20:08 +00:00
ad d08392c988 Note that the newlock2 branch has been merged. Hi Greg! 2007-02-17 20:09:07 +00:00
ad 342f5b9e3d newlock, newlock2: mark as terminated.
yamt-idlelwp: note interrupt LWPs as one of the goals.
2007-02-17 20:04:57 +00:00
bouyer e42eed0328 bus_dma fixes for bge(4). It now works on amd64 with more than 4GB physical
RAM (jumbo frames untested yet).
2007-02-17 19:47:06 +00:00
ad 790d873430 Put a sock in it.. 2007-02-17 19:30:33 +00:00
hubertf 94c137d519 Teach 'cut -c' about multibyte characters. Fixes PR 34244,
using the patch from the PR and some hacking by myself to avoid code
redundancy.

Passes the regression tests I've added.

(How many weeks of purgatory do I get for the cpp(1) hack to avoid
 code redundancy? I guess I can always say it was inspired by some old
 version of our md5 sources...)
2007-02-17 19:10:00 +00:00
perry ff1414764f remove myself from responsibility for postfix and the root cache file 2007-02-17 19:03:51 +00:00
perry 5c8f43fcbd remove myself from responsibility for postfix and the root.cache file 2007-02-17 19:02:53 +00:00
kochi 2794f98855 fix the problem reported in kern/35457, "cant mount msdosfs on floppy".
Since 1.40, which introduced support for non-DEV_BSIZE media,
mounting msdos floppy returned ENOTTY.

This is because floppy driver does not support DIOCGPART or DIOCWEDGEINFO
ioctl.

Those ioctls should not be a requirement for mounting msdosfs.

This patch is made by Christian Biere.
2007-02-17 18:39:15 +00:00
hubertf 1f32eee360 Don't generate input on the fly (the utf8 version is created from the
latin1 version using iconv). Make sure all files are cleaned up.
2007-02-17 18:30:29 +00:00
hubertf 65c821b927 Test if 'cut -c' is working with multibyte characters properly.
For PR 34244.
2007-02-17 18:27:55 +00:00
mhitch d417d9f5d4 From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
2007-02-17 17:50:52 +00:00
yamt 1adc21b497 cpu_switchto doesn't use curlwp. 2007-02-17 17:48:17 +00:00
yamt 5ee77a9232 - move an implementation example to an EXAMPLES section.
- adapt to multiprocessor.
2007-02-17 17:35:52 +00:00
yamt 443a5d8276 need_resched -> cpu_need_resched 2007-02-17 17:29:24 +00:00
yamt e2f125eb9e process -> LWP. 2007-02-17 17:26:31 +00:00
yamt 69fa8e9367 correct a header.
XXX maybe it's better to introduce sys/cpu.h.
2007-02-17 17:25:34 +00:00
yamt d8e79b86c0 locking note. 2007-02-17 17:24:01 +00:00
yamt 38384421f9 need_resched -> cpu_need_resched. 2007-02-17 17:18:31 +00:00
christos 8b01459275 Define for SHA512_Last. 2007-02-17 17:18:12 +00:00
christos 5feb51ff2c make SHA512_Last weak. 2007-02-17 17:15:43 +00:00
yamt fbee1fbbf7 some more notes. 2007-02-17 17:14:21 +00:00
bouyer 786853f62a The SEAGATE ST318203LSUN18G announces DT only capabilitie although it also
supports ST. Because of this the HBA doesn't initiate sync/wide negotiation,
so add PQUIRK_CAP_SYNC | PQUIRK_CAP_WIDE16 for this drive; fix
problem reported by Havard Eidnes.
2007-02-17 17:01:29 +00:00
yamt 29f0b10c51 add manpages for yamt-idlelwp branch. not enabled in the makefile yet. 2007-02-17 16:23:08 +00:00