summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Nits.ru2005-01-131-5/+5
|
* Markup nits.ru2005-01-131-4/+3
|
* Fixed too many of "the", and enclose multi-word argument in double quotes.ru2005-01-131-4/+3
|
* Nits.ru2005-01-137-12/+10
|
* Implement and document ceill().stefanf2005-01-134-8/+117
|
* Bump .Dd for the last commit.stefanf2005-01-131-1/+1
|
* Revert last delta. The ASCII code 0 character is "NUL",ru2005-01-131-2/+2
| | | | not "NULL", see ascii(7).
* Removed harmful empty lines that crept in during the copyrightru2005-01-132-2/+0
| | | | header update.
* Safer version of the chflags command.ru2005-01-131-1/+1
|
* Get rid of the VDESC() macro while the pot is boiling anyway, it isphk2005-01-132-3/+2
| | | | | only used from generate files now, so we might as well generate the right stuff from the start.
* Change the generated VOP_ macro implementations to improve type checkingphk2005-01-137-111/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and KASSERT coverage. After this check there is only one "nasty" cast in this code but there is a KASSERT to protect against the wrong argument structure behind that cast. Un-inlining the meat of VOP_FOO() saves 35kB of text segment on a typical kernel with no change in performance. We also now run the checking and tracing on VOP's which have been layered by nullfs, umapfs, deadfs or unionfs. Add new (non-inline) VOP_FOO_AP() functions which take a "struct foo_args" argument and does everything the VOP_FOO() macros used to do with checks and debugging code. Add KASSERT to VOP_FOO_AP() check for argument type being correct. Slim down VOP_FOO() inline functions to just stuff arguments into the struct foo_args and call VOP_FOO_AP(). Put function pointer to VOP_FOO_AP() into vop_foo_desc structure and make VCALL() use it instead of the current offsetoff() hack. Retire vcall() which implemented the offsetoff() Make deadfs and unionfs use VOP_FOO_AP() calls instead of VCALL(), we know which specific call we want already. Remove unneeded arguments to VCALL() in nullfs and umapfs bypass functions. Remove unused vdesc_offset and VOFFSET(). Generally improve style/readability of the generated code.
* Locking and cleanup of tty netgraph node. Tty stack is Giant-locked,glebius2005-01-131-176/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so we need to acquire Giant in netgraph methods, so that we don't race with line discipline methods. Remove NET_NEEDS_GIANT. - Packets coming into node from netgraph are queued in ifqueue attached to node private data. - Mutex in struct ifqueue is used to lock not only the queue, but the whole private data, and tp->t_lsc field. - tp->t_lsc pointer is used to indicate whether line discipline is attached to netgraph or not. - Use FLG_DIE flag to indicate that node may be destroyed. (This protection doesn't work, and it didn't before. Must be redesigned.) - Increment ngt_unit atomically, removing mutex. - Acquire Giant, when executing ngt_start() from netgraph context. - Acquire Giant, when {,de}registering line discipline. - Uncomment forcing queue mode on peers hook, since this is reasonable. - Force queue mode on our hook, to avoid acquiring Giant when coming from network stack. We may already hold some mutexes at this point. Cleanups: - Use callout_pending() instead of our own flag. - Remove spl(9) calls. Now we can use return() instead of ERROUT(). style(9): - Sort includes. - Sparse initializer for struct linesw. - Remove some empty lines, sort declarations. Reviewed by: julian, phk MFC after: 1 month
* WANRS=6 cleanup for vidcontrol(1):delphij2005-01-133-93/+95
| | | | | | | | | | | | | - Use foo(void) instead of foo(). - Use static where applicable. - Apply more const's when passing parameters - signed/unsigned madness - Avoid namespace collision by adding underscores. - For 64-bit architectures, use %zx instead of %x when necessary. - When storing constants, use const instead of variable. - Bump WARNS?= from 2 to 6
* Improve previous commit with regards to the user check.trhodes2005-01-131-2/+2
| | | | Submitted by: nectar
* Hook up and document floorl().stefanf2005-01-122-5/+16
|
* Implement floorl().stefanf2005-01-122-1/+98
|
* Whitespace nit.stefanf2005-01-121-1/+1
|
* Scheduled mdoc(7) sweep.ru2005-01-1219-79/+92
|
* A few more mdoc fixes I missed in the suggestions of Ruslan.keramida2005-01-121-2/+2
|
* Fix a TCP SACK related crash resulting from incorrect computationps2005-01-121-6/+16
| | | | | | | | of len in tcp_output(), in the case where the FIN has already been transmitted. The mis-computation of len is because of a gcc optimization issue, which this change works around. Submitted by: Mohan Srinivasan
* Reflect reality when a sudo user builds/installs a kernel. [1]trhodes2005-01-121-2/+3
| | | | | | | | | | | /* -> /*- for copyright notices. [2] [1]: PR: 41317 Submitted by: marck (original version) [2]: Discussed with: imp
* Cross-reference the newly added example.9keramida2005-01-123-3/+6
|
* Link mdoc/example.9 to the build.keramida2005-01-121-0/+1
|
* Add a sample manpage for section 9.keramida2005-01-121-0/+338
| | | | | Suggested by: simon Reviewed by: ru
* Fix typo %d -> %xemax2005-01-121-1/+1
| | | | | | | | | That should fix the problem with invalid PSM returned from bthidcontrol. Pointy hat goes to me. PR: misc/76107 Submitted by: Hiroyuki Aizu < aizu at navi dot org > MFC after: 1 day
* Try harder to work with MP table interrupt entries that claim that anjhb2005-01-121-7/+22
| | | | | | | | | | interrupt is wired up to all the I/O APICs in the system. If the system has only one I/O APIC, then just act as if the entry specified that APIC. We still don't try to handle global entries in a system with multiple I/O APICs. Tested by: Peter Trifonov pvtrifonov at mail dot ru MFC after: 1 week
* Include opt_bootp.h for BOOTP_NFSROOTbrian2005-01-121-0/+2
| | | | | | PR: 73183 Submitted by: Darrin Smith sdar at salseast dot org MFC after: 7 days
* Sort xrefs.ru2005-01-122-5/+5
|
* When re-connecting already connected datagram socket ensure to cleansobomax2005-01-121-2/+11
| | | | | | | | | | up its pending error state, which may be set in some rare conditions resulting in connect() syscall returning that bogus error and making application believe that attempt to change association has failed, while it has not in fact. There is sockets/reconnect regression test which excersises this bug. MFC after: 2 weeks
* Scheduled mdoc(7) sweep.ru2005-01-1217-47/+48
|
* Comment out debugging printf which doesn't compile on amd64.phk2005-01-121-0/+2
|
* Add test which excersises problem with unability to change association ofsobomax2005-01-122-0/+149
| | | | | already associated datagram unix domain socket by issuing connect() system call.
* Create three additional X socket directories. Using X applications when anotheranholt2005-01-121-5/+6
| | | | | | | user owns these directories or the sticky bit is unset may open security holes, so simply create them at startup with the correct owner/mode. MFC after: 1 day
* Use off_t when passing and calculating file offsets. While a singlescottl2005-01-121-6/+11
| | | | | | | extent in UDF is only 32 bits, multiple extents can exist in a file. Also clean up some minor whitespace problems. Submitted by: John Wehle
* Don't allow reads past the end of a file.scottl2005-01-121-1/+1
| | | | | Submitted by: John Wehle, Andriy Gapon MFC After: 3 days
* Bring some file descriptions in line with reality.kientzle2005-01-121-6/+31
| | | | | Also, add some hints to help people understand which functions are most appropriate for typical uses.
* Let _umtx_op directly return error code rather than from errno becausedavidxu2005-01-122-28/+29
| | | | | | errno can be tampered potentially by nested signal handle. Now all error codes are returned in negative value, positive value are reserved for future expansion.
* Don't reprint file names unnecessarily.brian2005-01-121-4/+4
| | | | | | PR: 75028 Submitted by: mteterin at 250-217 dot customer dot cloud9 dot net MFC after: 7 days
* Fix some signed/unsigned comparisons. Fix prototypes while I'm here.brian2005-01-121-3/+6
| | | | | | PR: 28890 Submitted by: matthias.andree at web dot de MFC after: 7 days
* Don't decend into directories when -d is set and the directory itself doesn'tbrian2005-01-123-2/+19
| | | | | | | | match. PR: 28095 Submitted by: bill at twwells dot com MFC after: 7 days
* Sed doesn't grok '[ \t]' -- it doesn't expand the \t :(brian2005-01-121-1/+1
| | | | | | | As there are no tabs in maillog, reduce the expression so that only spaces are used. Problem raised by: Leif Neland root at internet dot dk
* This commit was generated by cvs2svn to compensate for changes in r140094,njl2005-01-121-1/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix handling of the implicit return case for methods called from annjl2005-01-121-1/+2
| | | | | | | | | | | | | | | | external source (i.e., _STA). The previous case only handled calls occurring within AML. This should fix Toshibas, among others. Thanks to Robert Moore of Intel for the fix. MFC after: 2 days
* | - list the Hama USB RS-232 Serial Adapter as supportedbrueffer2005-01-111-1/+3
| | | | | | | | | | | | | | | | - bump .Dd PR: 76088 Submitted by: Benjamin Lutz <benlutz@datacomm.ch> MFC after: 3 days
* | Regression tests for [l]lrint[f]() and [l]lround[f]().das2005-01-115-1/+258
| |
* | Add MI implementations of [l]lrint[f]() and [l]lround[f]().das2005-01-1110-4/+200
| | | | | | | | Discussed with: bde
* | Document [l]lrint[f]() and [l]lround[f]().das2005-01-115-5/+197
| |
* | Faster lrint() and llrint() implementations for x86.das2005-01-112-0/+71
| |
* | Mark inline stmxcsr instructions as volatile, since this appears to bedas2005-01-111-1/+1
| | | | | | | | | | the only way to convince gcc that they read the MXCSR. The volatile annotation may be needed elsewhere as well.
* | Add missing entry.pjd2005-01-111-1/+1
| | | | | | | | Reported by: sos
OpenPOWER on IntegriCloud