summaryrefslogtreecommitdiffstats
path: root/source3/lib/select.c
Commit message (Collapse)AuthorAgeFilesLines
* samba: share select wrappers.Günther Deschner2010-10-011-207/+0
| | | | Guenther
* s3: use monotonic time in timeout of sys_select_intr()Björn Jacke2010-08-311-10/+11
|
* s3:lib/select: don't overwrite errno in the signal handlerStefan Metzmacher2009-09-211-0/+4
| | | | metze
* S3: Stop creating SMBD cores when failing to create a pipe.todd stecher2009-02-181-1/+11
| | | | | | This was uncovered when the MAX FD limit was hit, causing an instant core and invoking error reporting. This fix causes SMBD to exit, but without building a core.
* Rely on standard {u,}int{8,16,32,64}_t types provided by system orJelmer Vernooij2008-10-141-1/+1
| | | | libreplace for {u,}int{8,16,32,64} defines.
* Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij2008-10-141-1/+1
|
* Check return value of pipe(2)Volker Lendecke2008-02-231-1/+2
| | | | (This used to be commit 49da21c03a1a5801fba4b12837cccf2887e0d8f0)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach2007-10-101-2/+2
| | | | | failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
* r7440: * merge registry server changes from trunk (so far) for moreGerald Carter2007-10-101-2/+5
| | | | | | | printmig.exe work * merge the sys_select_signal(char c) change from trunk in order to keeo the winbind code in sync (This used to be commit a112c5570a7f8ddddde1af0fa665f40a6067e8cf)
* r6090: Patch to fix sys_select so it can't drop signals if another fdJeremy Allison2007-10-101-9/+17
| | | | | | | is ready to read. Patch from Mark Weaver <mark-clist@npsl.co.uk>. The only question is, how did we miss this for so long..... :-). Jeremy. (This used to be commit fb4052ce3a5e585897e478092a7ab5a2ec83e37b)
* r4545: Fix based on work by Derrell.Lipman@UnwiredUniverse.com :Jeremy Allison2007-10-101-4/+26
| | | | | | | | | | * In an application with signals, it was possible for functions to block indefinitely while awaiting timeouts. This patch ensures that if a system call with a timeout is aborted and needs to be restarted, it is restarted with a timeout which is adjusted for the amount of time already waited. Jeremy. (This used to be commit 3a0d426764ab8bac561a47329500a03a52a00fa3)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-14/+14
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* Stomped on some header file version numbers that have crept back in.Tim Potter2002-03-221-2/+1
| | | | (This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)
* Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison2002-01-311-22/+54
| | | | | | | processing work correctly in winbindd. This is a really good patch that gives full select semantics to the Samba modified select. Jeremy. (This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Spelling fix.Tim Potter2002-01-101-1/+1
| | | | (This used to be commit 85d3ffb2709258e576191adade9c61b11e83eec5)
* Always increment even if the read fails (otherwise we spin if we hit the ↵Jeremy Allison2001-02-231-1/+4
| | | | | | | kernel bug...). Jeremy (This used to be commit d388dfa53b3a7a2dcce6d5591531d6ade0cbab62)
* lib/select.c: Fix for Linux 2.0.x kernel that causes select to return true ↵Jeremy Allison2001-02-221-0/+15
| | | | | | | | | | | | on a pipe and then a blocking read to fail. Make the pipe read/write non blocking. printing/printing.c: Added a mutex around the code that enumerates all the jobs in a print queue. Allows only one smbd to be doing this at any one time. This fixes a capacity problem discovered at HP with <10,000 jobs in a print queue. Jeremy. (This used to be commit 0d3ae603a2b86d476458ee2a7d4f7d22636c3f66)
* save and restore errno in selectAndrew Tridgell2000-11-171-1/+5
| | | | (This used to be commit 34f0379096d0701c74a51c51649ffe4cb1a24291)
* fixed a race in the pipe() setup in sys_select()Andrew Tridgell2000-09-121-1/+1
| | | | (This used to be commit bb0f769272d8a8bd527053746b468bca797e1663)
* fixed two minor bugs in new sys_select()Andrew Tridgell2000-06-211-5/+5
| | | | (This used to be commit 5afc5f503144c81ebc6139719fd88335fd30f4ad)
* Paranoia changes to ensure that anything touched by a signal handlerJeremy Allison2000-06-191-1/+1
| | | | | | and the main code is declared as VOLATILE SIG_ATOMIC_T. Jeremy. (This used to be commit b737c784e34b0e1af014cb828ef37d5b6d73c3e2)
* forgot to checkin select.cAndrew Tridgell2000-06-131-0/+107
(This used to be commit 719bc2f130393a55058f5c45ca6fbd30a78de2dc)