summaryrefslogtreecommitdiffstats
path: root/lib/libutil
Commit message (Collapse)AuthorAgeFilesLines
* Remove the claim that UUCP locking were not atomic. It is sincejoerg1997-10-071-13/+1
| | | | revision 1.8 of uucplock.c.
* Add passwd(5) to "SEE ALSO".obrien1997-10-071-1/+2
| | | | | | | ISSUES: An example and better explansion on how to specify a user's login class in /etc/master passwd is needed. (As I don't seem to be specifiying it right, I can't do it).
* Changes to support full make parallelism (-j<n>) in the worldjkh1997-10-051-3/+3
| | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
* Sort cross refereces in section SEE ALSO.wosch1997-09-291-2/+2
|
* Endless loop.wosch1997-09-291-5/+5
| | | | | | | | | | | $ vipw [corrupt a line in editor, exit editor] pwd_mkdb: corrupted entry pwd_mkdb: at line #2 pwd_mkdb: /etc/pw.012585: Inappropriate file type or format re-edit the password file? [y]: n^D^D [hang]
* The parameters to logwtmp should be const char'spst1997-09-042-4/+6
|
* Remove login_progok()brian1997-08-315-103/+5
| | | | Suggested by: guido
* Add full support for determining if a userbrian1997-08-275-5/+101
| | | | is restricted from running a given program.
* Add prog.deny as a list capability forbrian1997-08-261-1/+3
| | | | denying execution of certain programs.
* -I${DESTDIR}/sys -> -I${.CURDIR}/../../sys.bde1997-08-261-1/+1
|
* Cosmetic: distinguish in diag message between rebuilding and updatingjoerg1997-08-241-1/+2
| | | | | | | the database. PR: 3397 Submitted by: taob@risc.org (Brian Tao)
* Protect the copyright comments from reformatting bysteve1997-08-135-3/+28
| | | | | | | indent and make this compile -Wall clean like the Makefile suggests that it should. :) Pointed out by: Bruce Evans <bde@zeta.org.au>
* Implement canonical locking protocolache1997-08-103-62/+83
| | | | Suggested by: joerg
* Observe precedence set by Phillippe Charnier in adding ansteve1997-08-071-3/+5
| | | | rcsid.
* Remove #if(n)def BSD_4_4_LITE cruft and sccsid -> rcsid.steve1997-08-071-2/+3
|
* Improve weak locking by using flock()ache1997-08-051-4/+8
|
* sleep() after sending 'nologin' file to ensure output is drained beforedavidn1997-07-191-1/+2
| | | | disconnect.
* Add appropriate ${DESTDIR} in front of absolute paths.asami1997-07-181-1/+1
|
* Fix infinite loop.davidn1997-06-161-2/+2
| | | | | PR: 3878 Submitted by: roman@rpd.univ.kiev.ua
* Add "break" inadvertently removed in previous update.davidn1997-06-131-1/+3
| | | | | PR: 3820 Submitted by: Joseph Stein <joes@spiritone.com>
* Submitted by: Whistle Communications (archie Cobbs)julian1997-06-021-1/+9
| | | | | | | | | | | | | | | | | | These changes add the ability to specify that a UFS file/directory cannot be unlinked. This is basically a scaled back version of the IMMUTABLE flag. The reason is to allow an administrator to create a directory hierarchy that a group of users can arbitrarily add/delete files from, but that the hierarchy itself is safe from removal by them. If the NOUNLINK definition is set to 0 then this results in no change to what happens normally. (and results in identical binary (in the kernel)). It can be proven that if this bit is never set by the admin, no new behaviour is introduced.. Several "good idea" comments from reviewers plus one grumble about creeping featurism. This code is in production in 2.2 based systems
* Typo police.tg1997-05-221-2/+2
|
* Now I really understand the reason for the style.9 rule about not havingpeter1997-05-191-14/+14
| | | | | | | visible type names in prototypes in user space headers. libutil.h generates warnings with -Wall over the use of "const char *ttyname". It's lucky it wasn't a #define conflict. Is a single '_' prefix acceptable? or does it need to be two?
* MF2.2: update login_cap api docs.davidn1997-05-181-9/+23
| | | | | | | PR: Reviewed by: Submitted by: Obtained from:
* For non-root uids, consider root-owned files also 'secure' unless otherwisedavidn1997-05-152-4/+4
| | | | disqualified.
* Back out previous revision. Shlib version numbers are supposed to beasami1997-05-131-1/+1
| | | | | | | | bumped only 0.1 or 1.0 between releases. (See handbook.) Note that if you have built world in -current in the last 48 hours or so, you should manually remove /usr/lib/libutil.so.2.3 before rebuilding world to cleanse your system.
* Make uu_* const correct.brian1997-05-123-12/+12
| | | | Suggested by: joerg
* Add #include <sys/types.h> in synopsis, now required for libutil.h.davidn1997-05-114-4/+8
|
* Bump shared lib version to 2.3.davidn1997-05-111-1/+1
| | | | Suggested by: bde
* MF2.2: bugfix in arrayize().davidn1997-05-111-2/+2
|
* Summary of login.conf support changes:davidn1997-05-1010-1034/+1700
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Incorporated BSDI code and enhancements, better logging for error checking (which has been shown to be a problem, and is therefore justified, imho); also some minor things we were missing, including better quad_t math, which checks for under/overflows. o setusercontext() now allows user resource limit overrides, but does this AFTER dropping root privs, to restrict the user to droping hard limits and set soft limits within the kernel's allowed user limits. o umask() only set once, and only if requested. o add _secure_path(), and use in login.conf to guard against symlinks etc. and non-root owned or non-user owned files being used. Derived from BSDI contributed code. o revamped authentication code to BSDI's latest api, which includes deleting authenticate() and adding auth_check() and a few other functions. This is still marked as depecated in BSDI, but is included for completeness. No other source in the tree uses this anyway, so it is now bracketed with #ifdef LOGIN_CAP_AUTH which is by default not defined. Only auth_checknologin() and auth_cat() are actually used in module login_auth.c. o AUTH_NONE definition removed (collided with other includes in the tree). [bde] o BSDI's login_getclass() now accepts a char *classname parameter rather than struct passwd *pwd. We now do likewise, but added login_getpwclass() for (sort of) backwards compatiblity, namely because we handle root as a special case for the default class. This will require quite a few changes elsewhere in the source tree. o We no longer pretend to support rlim_t as a long type. o Revised code formatting to be more bsd-ish style.
* Move login_cap.h from src/include for easier maintenance withdavidn1997-05-102-0/+143
| | | | related files.
* Fix punctuation: "it's" -> "its"danny1997-04-171-2/+2
|
* Fixed missing const in synopsis.bde1997-04-131-2/+2
|
* Grammar police.mpp1997-04-021-2/+2
|
* Add Idache1997-04-021-1/+4
| | | | | Reduce space for error bufer from 512 to 128: there is no such long strings can be returned from strerror()
* Code space optimization in uu_lockerr()ache1997-04-021-10/+7
|
* Remove unused USE_PERROR define and syslog.h includeache1997-04-022-25/+17
| | | | | | | | | | Use snprintf instead of sprintf to avoid buffer overflows Use snprintf in uu_lockerr instead of lots of hardcoded constants and not null-terminated strncpy Return "" for OK and "device in use" for INUSE, it allows simple strcpy(buf, uu_lockerr(retcode)) without testing for special OK case (NULL was there) and obtaining meaningful result for INUSE ("" was there) without special testing for it too.
* MLINK uu_lockerr(3).mpp1997-04-011-1/+1
|
* Mdoc police.mpp1997-04-011-9/+10
|
* Remove the syslog stuff, and allow various return valuesbrian1997-03-313-48/+145
| | | | | | | | | in uu_lock(). Add uu_lockerr() for turning the results of uu_lock into something printable. Remove bogus section in man page about race conditions allowing both processes to get the lock. Include libutil.h and use uu_lock() correctly where it should. Suggested by: ache@freebsd.org
* Move uucplock into libutil and create a manual page.brian1997-03-304-3/+276
|
* Fixed misquoted arg in synopsis.bde1997-03-191-2/+2
|
* "infinity" check was missed from login_getcapsize(), add itache1997-02-271-1/+7
| | | | One manifestation of this bug: all networking users have coredumpsize=0
* Revert $FreeBSD$ to $Id$peter1997-02-2219-19/+19
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Obsolete fgetline() -> fgetln(); and chop off newline if necessary.davidn1997-02-101-4/+5
|
* 1MB is 1048576 bytes, not 1038476 bytes. (I can see that the originalasami1997-02-051-1/+1
| | | | committer wasn't using the MicroSlop Natural keyboard though! :)
* Fix free()ing block twice, remove unused function.davidn1997-01-301-15/+1
|
* Fix typo .->, for default separators in login_getcaplist().davidn1997-01-291-1/+2
|
OpenPOWER on IntegriCloud