summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove crossref to pam.conf(5) which never existed.schweikh2004-01-171-1/+0
|
* Backout revision 1.6, because some stub functions not in libc, anddavidxu2004-01-171-18/+2
| | | | | non-threaded won't build. The cancellation point support should be further discussed.
* - Handle failure of cam_sim_alloc().mdodd2004-01-171-0/+12
| | | | | | | This prevents xpt_bus_register() from dereferencing NULL. - Assign pointer to NULL after cam_sim_free(). Submitted by: Paul Twohey <twohey@CS.Stanford.EDU>
* Replaced outdated comment.ru2004-01-171-1/+1
|
* Improve translation.hrs2004-01-171-39/+36
|
* Removed well outdated comment.ru2004-01-171-4/+0
|
* Return EPERM if mutex owner is not current thread but it tries todavidxu2004-01-172-36/+6
| | | | | | unlock the mutex, old code confuses some programs when it returns EINVAL. Noticed by: bland
* Enable cancellation point in sem_wait, it is required by POSIX.davidxu2004-01-171-2/+18
| | | | | | For pshared semaphore, this commit still does not enable cancellation point, I think there should be a pthread_enter_cancellation_point_np for libc to implement a safe cancellation point.
* Fixed the fatal bug: CFLAGS should be added to, not overridden.ru2004-01-172-2/+2
| | | | This prevented CPU and optimization flags to be added here.
* Create ${WORLDTMP}/legacy/usr/include/c++/3.3 for usr.bin/lex.ru2004-01-171-1/+1
|
* Restore correct semantics for F_DUPFD fcntl. This should fix the errorsdes2004-01-173-6/+6
| | | | people have been getting with configure scripts.
* Fixed spacing in previous revision.ru2004-01-171-1/+1
|
* Do not allow operations which cause known file-system corruption.green2004-01-161-2/+8
|
* Remove a warning.green2004-01-161-2/+0
|
* WITNESS won't let us hold two filedesc locks at the same time, so juggledes2004-01-161-3/+9
| | | | fdp and newfdp around a bit.
* KASSERT() that initproc->p_pid is 1. Very bad things happen if init'srwatson2004-01-161-0/+1
| | | | | | | pid isn't 1, and it can actually occur if kthread_create() is called before SUB_SI_CREATE_INIT without RFHIGHPID. Discussed with: jhb
* _OS and _OS_ are the same object (due to _ padding for spaces).njl2004-01-161-7/+4
| | | | Pointed out by: Ducrot Bruno (Linux)
* Splice in cryptodev (this man page originated on openbsd where there issam2004-01-161-5/+11
| | | | | | | | no cryptodev module.) Should probably create a separate cryptodev man page (or a link to this one) but for now add enough so folks understand the relationship between the two. Prodded by: phk
* Fix an upper-vnode leak created in revision 1.52. When an upper-layergreen2004-01-162-19/+13
| | | | | | | | | | | | file has been removed, it should be purged from the cache, but it need not be removed from the directory stack causing corruption; instead, it will simply be removed once the last references and holds on it are dropped at the end of the unlink/rmdir system calls, and the normal !UN_CACHED VOP_INACTIVE() handler for unionfs finishes it off. This is easily reproduced by repeated "echo >file; rm file" on a unionfs mount. Strangely, "echo -n >file; rm file" didn't make it happen.
* lex(1) prior to flex.skl,v 1.8 and gen.c,v 1.7 requires bootstrapping.ru2004-01-161-0/+5
| | | | Prodded by: nectar
* - Build things in pure alphabetical dictionary order.ru2004-01-161-148/+227
| | | | | | | | | | - Unify the conditional assignments section so that architectural exclusions come first, sorted, then options and !options, sorted by the option name, also in directory order, then architecture specific sections, sorted by the architecture name, with i386 being a traditional exception. Prodded by: bde
* Switch manpath for FreeBSD manpages to 5.2-current.bmah2004-01-161-1/+1
|
* Sync to 1.157 of usbdevssanpei2004-01-162-9/+16
|
* Add support SUNTAC U-Cable type A3(AS64LX)sanpei2004-01-162-1/+4
| | | | | | Submitted by: TAKAHASHI Daisuke <takaha@mue.biglobe.ne.jp> [FreeBSD-users-jp 72475] and MIZUTANI Masaki <m-saki@rr.iij4u.or.jp> MFC after: 1 week
* - Build things in pure dictionary order (see sort(1)).ru2004-01-165-166/+259
| | | | | | | | | | - Unify the conditional assignments section so that architectural exclusions come first, then options and !options, sorted by the option name, also in directory order, then architecture specific sections, sorted by the architecture name, with i386 being a traditional exception. Prodded by: bde
* Add an implementation of pthread_rwlock_timed{rd,wr}lock() to libthr withmtm2004-01-164-11/+281
| | | | attendant documentation.
* Remove two KASSERTs which were overly paranoid.des2004-01-161-4/+0
|
* o We are not required to initialize an invalid rwlock. So axe all thatmtm2004-01-161-160/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | code and simply return EINVAL (which is allowed by the standard) in all those pthread functions that previously initialized it. o Refactor the pthread_rwlock_[try]rdlock() and pthread_rwlock_[try]wrlock() functions. They are now completeley condensed into rwlock_rdlock_common() and rwlock_wrlock_common(), respectively. o If the application tries to destroy an rwlock that is currently held by a thread return EBUSY where it previously went ahead and freed all resources associated with the lock. o Refactor _pthread_rwlock_init() to make it look (relatively) sane. o When obtaining a read lock on an rwlock the check for whether it would exceed the maximum allowed read locks should happen *before* we obtain the lock. o The pthread_rwlock_* functions shall *never* return EINTR, so make sure to requeue/resuspend the thread if it encounters such an error. o Make a note that pthread_rwlock_unlock() needs to ensure it holds a lock on an rwlock it tries to unlock. It will be implemented in a separate commit because it requires some additional rwlock infrastructure.
* The ndis_kspin_lock type is called KSPIN_LOCK in MS-Windows.obrien2004-01-162-2/+23
| | | | | | | | | | | | | | | | | | | | According to the Windows DDK header files, KSPIN_LOCK is defined like this: typedef ULONG_PTR KSPIN_LOCK; From basetsd.h (SDK, Feb. 2003): typedef [public] unsigned __int3264 ULONG_PTR, *PULONG_PTR; typedef unsigned __int64 ULONG_PTR, *PULONG_PTR; typedef _W64 unsigned long ULONG_PTR, *PULONG_PTR; The keyword __int3264 specifies an integral type that has the following properties: + It is 32-bit on 32-bit platforms + It is 64-bit on 64-bit platforms + It is 32-bit on the wire for backward compatibility. It gets truncated on the sending side and extended appropriately (signed or unsigned) on the receiving side. Thus register_t seems the proper mapping onto FreeBSD for spin locks.
* Catch up with ATA UMA changesgrehan2004-01-152-0/+2
|
* Connect tx.4 to the build and MLINK it to if_tx.4brueffer2004-01-151-0/+2
|
* Don't claim this file is i386 specificbrueffer2004-01-151-1/+1
|
* tx.4 has been repocopied to src/share/man/man4brueffer2004-01-152-109/+1
| | | | Repo-surgery by: joe
* The definition for __stdcall logically belongs in pe_var.h, butwpaul2004-01-154-6/+9
| | | | | | | | the definitions for NDIS_BUS_SPACE_IO and NDIS_BUS_SPACE_MEM logically belong in hal_var.h. At least, that's my story, and I'm sticking to it. Also, remove definition of __stdcall from if_ndis.c now that it's pulled in from pe_var.h.
* Provide an escape to our "savestring" compatibility with ancient readlineobrien2004-01-151-1/+3
| | | | versions madness. Define 'RL_NO_COMPAT' and be worry free.
* Create NDIS_BUS_SPACE_{IO,MEM} to abstract MD BUS_SPACE macros.obrien2004-01-153-20/+24
| | | | Provide appropriate definitions for i386 and AMD64.
* Take care to drop locks when calling malloc()des2004-01-151-2/+6
|
* - Move the code to try to open a single chunk file and prompt for thejhb2004-01-151-12/+31
| | | | | | | associated floppy if needed into a static split_openfile() function. - Use this function in splitfs_open() to open the first chunk rather than using open() directly. This allows the first chunk to be located on a different disk than the actual foo.split file.
* Whitespace tweaks to make indentation consistent within this file and evenjhb2004-01-151-4/+4
| | | | within a single function.
* - Print out line number in a panic message using %d rather than %p. Linejhb2004-01-152-2/+2
| | | | | | numbers aren't pointers. - Add a __printflike() attribute to libstand's panic() prototype to catch such bogons in the future.
* Removed outdated text about libc_r replacing libc (it now providesru2004-01-151-36/+19
| | | | | | | | | | | | just libc functions wrappers), and updated text to match reality: there are three threading libraries in FreeBSD these days. Removed instructions of how not to build libc_r, it's documented in the make.conf(5) manpage already. Removed description of the FreeBSD-specific gcc(1) option, -pthread. While it's still provided (for backwards compatibility reasons), its usefulness is questionable.
* Fixed style of previous commit.ru2004-01-151-3/+2
| | | | Submitted by: bde
* awi(4) needs 'device wlan' nowbrueffer2004-01-151-0/+1
|
* Removed the IMPLEMENTATION NOTES section made redundant by notru2004-01-151-9/+0
| | | | putting libc_r into the LIBRARY section.
* pthread_multi_np() is implemented in all threading libraries.ru2004-01-151-0/+10
| | | | pthread_single_np() is not implemented in libthr.
* Return ENOTSUP instead of -1.ru2004-01-151-1/+1
|
* Revert previous delta -- these interfaces aren't supported by libthr.ru2004-01-152-2/+0
|
* Document interfaces that are supported by libthr.ru2004-01-1552-0/+52
|
* Put libufs into the correct slot in the list.ru2004-01-151-1/+1
|
* 802.11 mode bits are now masks; convert to suitsam2004-01-151-1/+1
|
OpenPOWER on IntegriCloud