aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This commit was generated by cvs2svn to compensate for changes in r127105,David E. O'Brien2004-03-173-1388/+0
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=127106
* Avoid the whole -I${DESTDIR}/usr/include/gnu issue by includingDavid E. O'Brien2004-03-172-6/+5
| | | | | | | <gnu/regex.h> vs. just <regex.h>. Notes: svn path=/head/; revision=127104
* Adjust $FreeBSD$'s.David E. O'Brien2004-03-172-5/+1
| | | | Notes: svn path=/head/; revision=127103
* Fix a POSIX conformance bug. POSIX says sigwait should return error numberDavid Xu2004-03-172-6/+6
| | | | | | | in return value not in errno. Notes: svn path=/head/; revision=127102
* Add a tip for people who are using database-related ports on a sparc64Garance A Drosehn2004-03-171-0/+7
| | | | | | | | | system that they intend to upgrade to 64-bit time_t. Noticed by: Roderick van Domburg Notes: svn path=/head/; revision=127101
* Re-add macro versions of getc(), getchar(), putc(), putchar(), feof(),Tim J. Robbins2004-03-177-34/+28
| | | | | | | | | | ferror(), fileno() and clearerr(), using the value of __isthreaded to decide between the fast inline single-threaded code and the more general function equivalent. This gives most of the performance benefits of the old unsafe macros while preserving thread safety. Notes: svn path=/head/; revision=127100
* Remove tun_proc; replace with tun_pid. tun_proc pointer may be staleRobert Watson2004-03-171-7/+14
| | | | | | | | | | | as the process that opens tun_softc can exit before the file descriptor is closed. Taiwan experience provided by: keichii Crashing breakers provided by: Chia-liang Kao <clkao@clkao.org> Notes: svn path=/head/; revision=127099
* Add tap_mtx to tap_softc in order to protect per-softc variablesRobert Watson2004-03-172-2/+44
| | | | | | | | | | (tap_pid, tap_flags). if_tap should now be entirely MPSAFE. Committed from: Bamboo house by ocean in Taiwan Tropical paradise provided by: Chia-liang Kao <clkao@clkao.org> Notes: svn path=/head/; revision=127098
* Implement "arlconfig arlX quality".Max Khon2004-03-168-328/+226
| | | | | | | | | Man pages fixes. Submitted by: Stanislav A. Svirid <count@riss-telecom.ru> Notes: svn path=/head/; revision=127097
* New release note:Hiroki Sato2004-03-162-0/+10
| | | | | | | libdisk's u_long->d_addr_t change. Notes: svn path=/head/; revision=127096
* Avoid doing bawrite to initialize inode block while holding cylinderAlexander Kabaev2004-03-161-1/+3
| | | | | | | | | | | | | group block locked. If filesystem has any active snapshots, bawrite can come back trying to allocate new snapshot data block from the same cylinder group and cause panic due to recursive lock attempt. PR: 64206 Reviewed by: mckusick Tested by: pjd Notes: svn path=/head/; revision=127095
* Run through indent(1) so I can read the code without getting a headache.Dag-Erling Smørgrav2004-03-1628-10634/+10466
| | | | | | | | The result isn't quite knf, but it's knfer than the original, and far more consistent. Notes: svn path=/head/; revision=127094
* Fix copyrights and mandoc markup.Max Khon2004-03-163-22/+23
| | | | | | | Pointed out by: ru Notes: svn path=/head/; revision=127093
* Use void * instead of char * to avoid violating C99 strict aliasing rules.Dag-Erling Smørgrav2004-03-161-17/+12
| | | | Notes: svn path=/head/; revision=127092
* Use unions to avoid violating C99 strict aliasing rules.Dag-Erling Smørgrav2004-03-166-43/+50
| | | | Notes: svn path=/head/; revision=127091
* Approved by: mat (mentor).Thierry Thomas2004-03-161-0/+1
| | | | Notes: svn path=/head/; revision=127088
* Add explicit dependency on "ether", since we use ether_ifattach().Maxime Henrion2004-03-161-0/+1
| | | | Notes: svn path=/head/; revision=127087
* Refactor the existing machine-dependent sf_buf_free() into a machine-Alan Cox2004-03-1610-127/+48
| | | | | | | | | | | | | dependent function by the same name and a machine-independent function, sf_buf_mext(). Aside from the virtue of making more of the code machine- independent, this change also makes the interface more logical. Before, sf_buf_free() did more than simply undo an sf_buf_alloc(); it also unwired and if necessary freed the page. That is now the purpose of sf_buf_mext(). Thus, sf_buf_alloc() and sf_buf_free() can now be used as a general-purpose emphemeral map cache. Notes: svn path=/head/; revision=127086
* Remove a bogus assertion and readd it in a more correct location. A threadJohn Baldwin2004-03-161-1/+1
| | | | | | | | | | | | might be enqueued on a sleep queue but not be asleep when the timeout fires if it is blocked on a lock trying to check for pending signals before going to sleep. In the case of fixing up the TDF_TIMEOUT race, however, the thread must be marked asleep. Reported by: kan (the bogus one) Notes: svn path=/head/; revision=127085
* Added entries for 90 columns russian VGA modes.Jens Schweikhardt2004-03-161-0/+22
| | | | | | | | | PR: conf/51830 Submitted by: Sergiy Vyshnevetskiy <serg@vostok.net> MFC after: 1 week Notes: svn path=/head/; revision=127084
* Fix $FreeBSD$ ids.David E. O'Brien2004-03-1611-11/+29
| | | | Notes: svn path=/head/; revision=127082
* Change libdisk and sysinstall to use d_addr_t rather than u_long for diskJohn Baldwin2004-03-1610-167/+190
| | | | | | | | | | | | | | | | | | | addresses. For arch's with 64-bit longs, this is a nop, but for i386 this allows sysinstall to properly handle disks and filesystems > 1 TB. Changes from the original patch include: - Use d_addr_t rather than inventing a blkcnt type based on int64_t. - Use strtoimax() rather than strtoull() to parse d_addr_t's from config files. - Use intmax_t casts and %jd rather than %llu to printf d_addr_t values. Tested on: i386 Tested by: kuriyama Submitted by: julian MFC after: 1 month Notes: svn path=/head/; revision=127081
* Update the SiS support to distinguish older southbridges better.Søren Schmidt2004-03-162-9/+21
| | | | Notes: svn path=/head/; revision=127080
* New release note:Hiroki Sato2004-03-162-0/+8
| | | | | | | raid(4) removal. Notes: svn path=/head/; revision=127079
* o Add an -S option to not attempt to ascertain the validity of a shell.Mike Makonnen2004-03-162-13/+59
| | | | | | | | | | o Add a -D option to not attempt to create the home directory. o Treat the /nonexistent home directory specially. It means the user has no home directory and it should not be created. o Update Copyright year and my email. Notes: svn path=/head/; revision=127076
* Remove dangling raidctl referencePoul-Henning Kamp2004-03-161-1/+1
| | | | Notes: svn path=/head/; revision=127075
* Add powerpc to temporary fix. The new cpu device claims allPeter Grehan2004-03-161-2/+2
| | | | | | | | 'generic' OpenFirmware nexus nodes, since it uses bus_generic_probe. Maybe the cpu device probe should be MD. Notes: svn path=/head/; revision=127074
* Refer to "wide characters" instead of "wide-characters".Tim J. Robbins2004-03-163-15/+15
| | | | Notes: svn path=/head/; revision=127073
* The arlconfig is needed on i386 only.Yoshihiro Takahashi2004-03-161-0/+2
| | | | Notes: svn path=/head/; revision=127072
* Move the arl to i386 only.Yoshihiro Takahashi2004-03-161-1/+1
| | | | Notes: svn path=/head/; revision=127071
* Don't use the pcic polling.Yoshihiro Takahashi2004-03-161-1/+1
| | | | Notes: svn path=/head/; revision=127070
* Remove the RAIDframe manual pageScott Long2004-03-162-396/+0
| | | | Notes: svn path=/head/; revision=127069
* Remove the RAIDframe userland tool.Scott Long2004-03-165-3031/+0
| | | | Notes: svn path=/head/; revision=127068
* Remove the module reference for RAIDframeScott Long2004-03-161-1/+0
| | | | Notes: svn path=/head/; revision=127067
* Remove RAIDFrame. It hasn't worked since GEOM replaced the old diskScott Long2004-03-16138-42458/+0
| | | | | | | | | mini-layer. I don't have time to bing it forward into the GEOM world, and no one else has stepped forward to claim it. It'll be in the Attic for safe keeping for now. Notes: svn path=/head/; revision=127066
* Given the impact of CFLAGS and COPTFLAGS on the build, report them inDag-Erling Smørgrav2004-03-161-3/+3
| | | | | | | the log, even when not verbose. Notes: svn path=/head/; revision=127065
* Whitespace nit.Dag-Erling Smørgrav2004-03-161-1/+1
| | | | Notes: svn path=/head/; revision=127064
* Sort MLINKS.Tim J. Robbins2004-03-161-1/+1
| | | | | | | Noticed by: ru Notes: svn path=/head/; revision=127063
* Nudge Giant as far as I can into kern_open(). Mark open() as MPSAFE.David Malone2004-03-167-26/+30
| | | | | | | | | | | Use kern_open() to implement creat() rather than taking the long route through open(). Mark creat as MPSAFE. While I'm at it, mark nosys() (syscall 0) as MPSAFE, for all the difference it will make. Notes: svn path=/head/; revision=127062
* Get ready to mark open, creat and nosys as MPSAFE.David Malone2004-03-161-3/+3
| | | | Notes: svn path=/head/; revision=127061
* Add fairly minimal documentation for the nmount() syscall.Tim J. Robbins2004-03-162-3/+35
| | | | Notes: svn path=/head/; revision=127060
* Use vfs_nmount() to mount linprocfs filesystems in linux_mount();Tim J. Robbins2004-03-161-4/+21
| | | | | | | linprocfs doesn't support the old mount interface. Notes: svn path=/head/; revision=127059
* Make vfs_nmount() public. The Linux emulator needs this in order to mountTim J. Robbins2004-03-162-2/+2
| | | | | | | linprocfs filesystems. Notes: svn path=/head/; revision=127058
* Correct size argument passed to copyinstr() in linux_mount(): mntfromnameTim J. Robbins2004-03-161-2/+2
| | | | | | | and mntonname are both MNAMELEN characters long, not MFSNAMELEN. Notes: svn path=/head/; revision=127057
* Fix memory leakColin Percival2004-03-161-2/+2
| | | | | | | | | | PR: bin/64321 Submitted by: Rodney Ruddock <rodney@interopsystems.com> MFOpenBSD: rev 1.17 MFC after: 3 days Notes: svn path=/head/; revision=127055
* Rename the wiredlen member of struct sysctl_req to validlen and alwaysDon Lewis2004-03-162-15/+17
| | | | | | | | | | | | | | | set it to avoid the need for a bunch of code that tests whether or not the lock member is set to REQ_WIRED in order to determine which length member should be used. Fix another bug in the oldlen return value code. Fix a potential wired memory leak if a sysctl handler uses sysctl_wire_old_buffer() and returns an EAGAIN error to trigger a retry. Notes: svn path=/head/; revision=127052
* New release note:Hiroki Sato2004-03-162-0/+6
| | | | | | | arl(4) for Aironet Arlan 655 wireless adapters. Notes: svn path=/head/; revision=127051
* Don't bother calling vslock() and vsunlock() if oldlen is zero.Don Lewis2004-03-161-7/+9
| | | | | | | | | | | | | | | If vslock() returns ENOMEM, sysctl_wire_old_buffer() should set wiredlen to zero and return zero (success) so that the handler will operate according to sysctl(3): The size of the buffer is given by the location specified by oldlenp before the call, and that location gives the amount of data copied after a successful call and after a call that returns with the error code ENOMEM. The handler will return an ENOMEM error because the zero length buffer will overflow. Notes: svn path=/head/; revision=127050
* Set TZ to UTC so dates in the history file will match dates in the logs.Dag-Erling Smørgrav2004-03-161-0/+1
| | | | Notes: svn path=/head/; revision=127049
* Build the tinderbox with -O2.Dag-Erling Smørgrav2004-03-161-0/+2
| | | | Notes: svn path=/head/; revision=127048