aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Sort sections.Ruslan Ermilov2005-01-1843-345/+345
| | | | Notes: svn path=/head/; revision=140415
* Sort sections.Ruslan Ermilov2005-01-1814-94/+94
| | | | Notes: svn path=/head/; revision=140414
* Remove redundant parameter inherited from ipacctctl.Gleb Smirnoff2005-01-181-8/+7
| | | | Notes: svn path=/head/; revision=140413
* One of the DIAGNOSTICS sections should be EXIT STATUS.Ruslan Ermilov2005-01-181-6/+6
| | | | Notes: svn path=/head/; revision=140412
* Folded two SEE ALSO sections into one.Ruslan Ermilov2005-01-182-4/+2
| | | | Notes: svn path=/head/; revision=140411
* Sort sections.Ruslan Ermilov2005-01-182-15/+16
| | | | Notes: svn path=/head/; revision=140410
* Fold two ENVIRONMENT sections into one.Ruslan Ermilov2005-01-181-32/+33
| | | | Notes: svn path=/head/; revision=140409
* Sort sections.Ruslan Ermilov2005-01-183-12/+12
| | | | Notes: svn path=/head/; revision=140408
* ioctl(2) commands are u_long not int.Poul-Henning Kamp2005-01-181-5/+5
| | | | | | | Pass zero for sysctl new argument length, not NULL); Notes: svn path=/head/; revision=140407
* Detect sign-extension bugs in the ioctl(2) command argument: TruncatePoul-Henning Kamp2005-01-181-0/+6
| | | | | | | to 32 bits and print warning. Notes: svn path=/head/; revision=140406
* Unbreak stack traces across double faults. In a particular edge caseJohn Baldwin2005-01-181-2/+8
| | | | | | | | | | | | | | | (calling a __dead2 function such as panic() at the end of a function), the saved %eip on the stack will actually not be part of the function that executed a call instruction but instead will be the first instruction of the next function in the text. This happens with dblfault_handler() and syscall() for example. Work around this in the one place it matters by looking at the saved %eip - 1 to determine the calling function when we check for "magic" frames. MFC after: 2 weeks Notes: svn path=/head/; revision=140401
* While we're building kernels -g (ie, makeoptions DEBUG=-g), use -O as itDavid E. O'Brien2005-01-181-1/+1
| | | | | | | | | | | | | provides truer debugger stack traces. For those that want to stick with -O2 kernel builds, one should probably add -fno-optimize-sibling-calls so that each stack frame as a frame pointer. It is semi-promissed by the Release Engineers that when RELENG_6 is created we go back to -O2. Desired by: scottl, jhb Notes: svn path=/head/; revision=140400
* Fix building for non-i386 platforms.Sam Leffler2005-01-181-4/+7
| | | | | | | Submitted by: Coleman Kane Notes: svn path=/head/; revision=140399
* S_ISVTX -> S_ISTXT to reflect the code.Tom Rhodes2005-01-181-1/+1
| | | | Notes: svn path=/head/; revision=140396
* Correctly hide the command arguments.Diomidis Spinellis2005-01-171-15/+2
| | | | | | | | PR: bin/76374 MFC after: 2 weeks Notes: svn path=/head/; revision=140394
* If su(1) is run without an effective uid of 0, generate an error toRobert Watson2005-01-171-3/+33
| | | | | | | | | | | | the user indicating that su is not running setuid, which may help suggest to the user that it should be setuid, or should not be running from a file system mounted nosuid. Suggsted by: Ivan Voras <ivoras at fer dot hr> MFC after: 2 weeks Notes: svn path=/head/; revision=140392
* s/ntpdate_command/ntpdate_program/ to match rc.conf(5) andCeri Davies2005-01-171-1/+1
| | | | | | | | | | | | /etc/defaults/rc.conf. PR: conf/76188 Submitted by: Arne Wörner <arne_woerner at yahoo dot com> Approved by: murray MFC After: 7 days Notes: svn path=/head/; revision=140391
* Cleanup:Xin LI2005-01-172-17/+18
| | | | | | | | - Change signedness of nxtfld() to make msgs(1) WARNS=6 clean - Add several static's Notes: svn path=/head/; revision=140389
* Oops... Remove the line leaked in the last commit which is notXin LI2005-01-171-1/+0
| | | | | | | intended to be there... Notes: svn path=/head/; revision=140385
* WARNS=6 cleanup:Xin LI2005-01-172-17/+18
| | | | | | | | | | - Initialize everything in the struct array, not only the mentioned ones - Unconditionally initialize hs to 0 to avoid repeatly doing so - Cast to unsigned int when comparing to unsigned variables. Notes: svn path=/head/; revision=140384
* WARNS=6 cleanup:Xin LI2005-01-172-4/+9
| | | | | | | | | | - signed/unsigned conform. - Better initialization of nlist[]. I think we should have something like NLIST_NULL instead of the current (ugly) form... Notes: svn path=/head/; revision=140383
* Bump WARNS=6 by adding const constraint and initialize the pointerXin LI2005-01-172-2/+3
| | | | | | | to NULL at start. Notes: svn path=/head/; revision=140382
* The submitter of bin/75786 turned out to not have removable interfaces,Ceri Davies2005-01-171-1/+1
| | | | | | | | | | | | | and so the fix committed in r1.42 was not quite correct for the case where there are two or more DHCP consuming removable interfaces - dhclient must be restarted so that the other interfaces continue to function correctly. Approved by: murray MFC After: 7 days Notes: svn path=/head/; revision=140378
* Minor bit of advice.Poul-Henning Kamp2005-01-171-0/+4
| | | | Notes: svn path=/head/; revision=140374
* Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS for building thisColin Percival2005-01-171-0/+1
| | | | | | | | | | | | | | | | library. As the value suggests, this allows the library to be built repeatably; without this flag, gcc uses a random value in its parsing. Since the random seed is only used when handling files which do not have any externally-visible symbols, this change is not needed for any other libraries in the FreeBSD base system. Discussed on: freebsd-arch (in early November) Approved by: kan MFC after: 1 week Notes: svn path=/head/; revision=140372
* MFi386: fix a comment.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140371
* Fix a comment to match reality.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140370
* Rearrange the kninit calls for both directions of a pipe so thatMike Silbersack2005-01-171-1/+3
| | | | | | | | | | | | they both happen before pipe backing allocation occurs. Previously, a pipe memory shortage would cause a panic due to a KNOTE call on an uninitialized si_note. Reported by: Peter Holm MFC after: 1 week Notes: svn path=/head/; revision=140369
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-17143-161/+158
| | | | Notes: svn path=/head/; revision=140368
* Discontinue zero-length g_ctl arguments as "just give him this pointer"Poul-Henning Kamp2005-01-171-6/+1
| | | | | | | | transfers. The necessary context for calling copyin() isn't available anyway and automatic code-validation chokes on this. Notes: svn path=/head/; revision=140367
* Go ahead and match on CIS3 and CIS4 strings as well. These are NULLWarner Losh2005-01-171-1/+14
| | | | | | | | | | | | for the vast majority of our cards. However, they are critically needed to distinguish different fe based PC Cards (the FMV-182 from the 182A) which need to be treated differently (the ethernet address is loaded not from the standard CIS-based ethernet tuples, but from differing locations in attribute space based on the version string in CIS3. This should have no impact for other users of this function. Notes: svn path=/head/; revision=140366
* Ups, misprint, change and => add.Roman Kurakin2005-01-161-1/+1
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=140365
* Document the new EXIT STATUS section.Ruslan Ermilov2005-01-161-1/+4
| | | | Notes: svn path=/head/; revision=140364
* Added the EXIT STATUS section.Ruslan Ermilov2005-01-161-2/+3
| | | | Notes: svn path=/head/; revision=140363
* Implement a custom print formatter (archive_string_vsprintf)Tim Kientzle2005-01-164-14/+90
| | | | | | | | | | | | | | | | | for libarchive error messages. Mostly, this avoids a portability headache related to copying va_list arguments (some FreeBSD 5 platforms require va_copy; FreeBSD 4 doesn't support va_copy at all). It also dramatically reduces the size of libarchive for embedded applications: a minimal "untar" program using libarchive can now be under 64k statically linked (as opposed to ~100k using library *printf() functions). MFC after: 14 days Notes: svn path=/head/; revision=140362
* Move -Wunused-parameter from WARNS level 3 level 4.David E. O'Brien2005-01-161-2/+4
| | | | | | | | | | Also break long lines -- note that the '\' must be up against the last character of a line to keep command-line spacing proper. Requested by: rwatson Notes: svn path=/head/; revision=140361
* Fix a bug I introduced in 1.561 which has caused considerable filesystemPoul-Henning Kamp2005-01-161-5/+5
| | | | | | | | | | | | unhappiness lately. As far as I can tell, no files that have made it safely to disk have been endangered, but stuff in transit has been in peril. Pointy hat: phk Notes: svn path=/head/; revision=140360
* Use >= so we can use the actual WARNS levels.David E. O'Brien2005-01-161-6/+6
| | | | Notes: svn path=/head/; revision=140359
* Fix comment. Code 0x95 means locking shift to codeset 5 according toRoman Kurakin2005-01-161-2/+2
| | | | | | | | | | T1.617 AnnexD. Locking shift procedure is described in ANSI T1.607. MFC after: 3 days Notes: svn path=/head/; revision=140358
* Fix variable name in comment num=>alen. (Lost part of commit rev 1.2)Roman Kurakin2005-01-161-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=140357
* Removed .Re without a matching .Rs.Ruslan Ermilov2005-01-161-1/+0
| | | | Notes: svn path=/head/; revision=140356
* Use the \*(If string provided by mdoc(7), to represent infinity.Ruslan Ermilov2005-01-162-18/+11
| | | | Notes: svn path=/head/; revision=140355
* Removed redundant .br call.Ruslan Ermilov2005-01-161-1/+0
| | | | Notes: svn path=/head/; revision=140354
* Add the new standard EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-1626-220/+220
| | | | | | | Sort standard sections in the (documented) preferred order. Notes: svn path=/head/; revision=140353
* In refactoring the test before committing, a pointer was passed insteadRobert Watson2005-01-161-2/+2
| | | | | | | | | | of a structure for the sockaddr_in. Pass the pointer to connect() instead of the pointer to the pointer. Specify a port number to connect to. Notes: svn path=/head/; revision=140352
* Remove \n at the end of err(3) stringsPhilippe Charnier2005-01-161-7/+5
| | | | Notes: svn path=/head/; revision=140351
* Add a new sysctl, hw.sevenseg.freq, to control the update frequency.Olivier Houchard2005-01-161-1/+6
| | | | Notes: svn path=/head/; revision=140350
* Erm, don't forget to store the mbuf in the dmamap in bus_dmamap_load_mbuf_sg(),Olivier Houchard2005-01-161-5/+6
| | | | | | | | so that bus_dmamap_sync() knows what to invalidate. This makes em(4) work again. While I'm there, remove the unused "first" variable. Notes: svn path=/head/; revision=140349
* Add udpconnectjail, a simple regression test to exercise an (as yet)Robert Watson2005-01-162-0/+117
| | | | | | | | | | unfixed bug in the jail() implementation relating to using the connect() system call on UDP sockets. PR: 26506 Notes: svn path=/head/; revision=140348
* Standardize 2 error messages: start with lowercase letter.Philippe Charnier2005-01-161-2/+2
| | | | Notes: svn path=/head/; revision=140346