Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add utility functions for checking if a given kernel module is loaded, | des | 2006-02-18 | 4 | -2/+180 |
| | | | | and loading it. | ||||
* | - Add a note that passing NULL to pidfile_write(), pidfile_remove() and | pjd | 2006-01-28 | 1 | -3/+13 |
| | | | | | | | pidfile_close() functions is safe. This possibility is used in example code. - Cast pid_t to int. Requested by: yar | ||||
* | Teach openpty() how to deal with pts. | cognet | 2006-01-26 | 1 | -0/+45 |
| | |||||
* | Restore use of strncpy(), as there is later unconditional termination | rwatson | 2006-01-16 | 1 | -1/+1 |
| | | | | | | of the string, and reliance on the returned pointer. Found by: bde (tm) | ||||
* | Replace strncpy() with strlcpy() when parsing login time limit strings | rwatson | 2006-01-16 | 1 | -1/+1 |
| | | | | | | | | | | | from /etc/login.conf, or an unterminated string buffer could result. Probably, login_times.c should reject excessively long time strings as unparseable, rather than truncating, which might render an invalid string valid. Found with: Coverity Prevent (tm) Reviewed by: csjp MFC after: 3 days | ||||
* | Fix typo in comment. | rwatson | 2006-01-16 | 1 | -1/+1 |
| | | | | MFC after: 3 days | ||||
* | Document the LOGIN_SETMAC setusercontext(3) flag. While we are here, drop | csjp | 2005-12-30 | 1 | -0/+5 |
| | | | | in an external reference to mac_set_proc(3). | ||||
* | Restore the previous state after a FILL operation in properties_read() | jhb | 2005-11-28 | 1 | -8/+15 |
| | | | | | | | | | | | rather than forcing the state to LOOK. If we are in the middle of parsing a line when we have to do a FILL we would have lost any token we were in the middle of parsing and would have treated the next character as being at the start of a new line instead. PR: kern/89181 Submitted by: Antony Mawer gnats at mawer dot org MFC after: 1 week | ||||
* | Fix prototype. | ru | 2005-11-24 | 1 | -1/+1 |
| | |||||
* | Fix markup, grammar and spelling. | ru | 2005-11-18 | 1 | -32/+44 |
| | |||||
* | When removing the local domain, only do so when the result will be a | brooks | 2005-10-05 | 1 | -3/+1 |
| | | | | | | | | | host name. This is matches the documented behaviro. The previous behavior would remove the domain name even if the result retained a dot. This fixes rsh connections from a.example.com to example.com. Reviewed by: ceri (at least the concept) | ||||
* | Pidfiles should be created with permission preventing users from opening | pjd | 2005-09-16 | 1 | -1/+1 |
| | | | | | | | them for reading. When user can open file for reading, he can also flock(2) it, which can lead to confusions. Pointed out by: green | ||||
* | Add a family of functions for reliable pidfiles handling. | pjd | 2005-08-24 | 4 | -3/+498 |
| | | | | | Idea from: jmg Discussed on: arch@ | ||||
* | Bump the shared library version number of all libraries that have not | kensmith | 2005-07-22 | 1 | -1/+1 |
| | | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...) | ||||
* | NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines | ume | 2005-05-13 | 2 | -13/+3 |
| | | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now. | ||||
* | Properly spell default in a comment. | trhodes | 2005-04-22 | 1 | -1/+1 |
| | |||||
* | Remove duplicated "bytes". | delphij | 2005-04-10 | 1 | -1/+1 |
| | | | | | Submitted by: Wojciech A. Koszek [dunstan freebsd czest pl] PR: 79747 | ||||
* | Fix grammatical issue. | trhodes | 2005-02-27 | 1 | -4/+4 |
| | | | | Submitted by: ceri | ||||
* | Use ~/.login_conf when discussing a user's local file. | trhodes | 2005-02-26 | 1 | -1/+1 |
| | | | | Suggested by: ru | ||||
* | Reword previous commit to be a bit more correct and provide more information. | trhodes | 2005-02-25 | 1 | -5/+13 |
| | | | | Inspiried by: ru | ||||
* | Make it more obvious that cap_mkdb(1) is required to rebuild the database. | trhodes | 2005-02-23 | 1 | -0/+7 |
| | | | | | PR: 76981 Submitted by: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org> | ||||
* | Expand *n't contractions. | ru | 2005-02-13 | 3 | -4/+4 |
| | |||||
* | Reflect the reality; only crypt(3) uses /etc/auth.conf | ru | 2005-01-21 | 1 | -1/+1 |
| | | | | for the time being. | ||||
* | Sort sections. | ru | 2005-01-20 | 3 | -10/+10 |
| | |||||
* | Scheduled mdoc(7) sweep. | ru | 2005-01-11 | 1 | -2/+2 |
| | |||||
* | Various markup and spelling fixes. | trhodes | 2004-12-29 | 1 | -2/+2 |
| | | | | | PR: 75574 Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version) | ||||
* | Grammar in a comment. | ru | 2004-12-18 | 1 | -1/+1 |
| | |||||
* | Backout manual page updates. | pjd | 2004-09-26 | 1 | -19/+27 |
| | | | | Requested by: ru | ||||
* | Take the lastest fixes from NetBSD. | pjd | 2004-09-25 | 2 | -90/+70 |
| | | | | Obtained from: NetBSD | ||||
* | There is no such manual page in FreeBSD. | pjd | 2004-09-16 | 1 | -2/+0 |
| | |||||
* | Document when this function came into FreeBSD. | obrien | 2004-08-21 | 1 | -1/+3 |
| | |||||
* | Spell FTP correctly - in this case, it is used as the name of the protocol, | roam | 2004-08-06 | 1 | -2/+2 |
| | | | | | | not the program. Also, bump the document date. Reminded by: our resident mdoc guard (ru) | ||||
* | Add Giorgos's description of the ftp-chroot login.conf option. | roam | 2004-08-06 | 1 | -0/+10 |
| | | | | | | Reported by: Bill Moran <wmoran@potentialtech.com> Submitted by: keramida MFC after: 2 weeks | ||||
* | Markup fixes. | ru | 2004-07-07 | 1 | -16/+24 |
| | |||||
* | Eliminate double whitespace. | ru | 2004-07-03 | 1 | -1/+1 |
| | |||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 14 | -29/+52 |
| | |||||
* | Humanize_number(3) is a part of libutil. | pjd | 2004-05-25 | 1 | -0/+2 |
| | |||||
* | You want to include libutil.h, not util.h. | trhodes | 2004-05-25 | 1 | -4/+7 |
| | | | | Some minor sentence tweaking. | ||||
* | Add humanize_number(3) to libutil for formating numbers into a human | pjd | 2004-05-24 | 4 | -4/+312 |
| | | | | | | readable form. Obtained from: NetBSD | ||||
* | Don't depend on NULL's expansion being a pointer, cast it before it is passed | stefanf | 2004-05-18 | 1 | -3/+4 |
| | | | | | | to variadic functions. Approved by: das (mentor) | ||||
* | Fix and clarify unparsable sentence. | dds | 2004-05-11 | 1 | -3/+3 |
| | | | | MFC after: 2 weeks | ||||
* | Bring the description for login_getclassbyname in sync with the function's | dds | 2004-05-11 | 2 | -8/+28 |
| | | | | | | | arguments. The function has as a second argument a struct passwd * pointer, not a directory name. MFC after: 2 weeks | ||||
* | Back out the "clean_environment()" function from libutil. | kientzle | 2004-02-29 | 3 | -211/+4 |
| | | | | | | | Further contemplation has convinced me that this was not going to really solve the problem of environment-poisoning without raising serious administrative headaches. There must be a better way... | ||||
* | Add the clean_environment call to libutil.h also. | kientzle | 2004-02-26 | 1 | -0/+2 |
| | | | | MFC after: 2 weeks | ||||
* | Add a clean_environment call to libutil. | kientzle | 2004-02-26 | 3 | -4/+211 |
| | | | | | | | | | | | | | | | | | This function removes all environment variables except the ones listed on a "whitelist." The function accepts two whitelist arguments. If the first is NULL, a built-in default list will be used. This allows callers to get a variety of behaviors: * Default screening: provide NULL for both lists * Custom screening: provide a custom list for the first argument * Modified default screening: provide NULL for first arg, list of additional variables to preserve in the second arg Idea from: Jacques Vidrine MFC after: 2 weeks | ||||
* | Bump the major version on libtuil. libutil now relies on the mac_* | rwatson | 2003-11-12 | 1 | -1/+1 |
| | | | | | | | | symbols exported by newer versions of libc, and so we want applications depending on the newer library code to be required to link against the newer libc. Discussed with: scottl, kris, imp | ||||
* | Remove __NETBSD_SYSCALLS. | tjr | 2003-10-29 | 1 | -6/+0 |
| | |||||
* | (mostly) Clean up some const warnings here. The code takes some liberties | peter | 2003-10-26 | 1 | -8/+9 |
| | | | | | because it is the originator of various const strings and knows that they came from malloc. | ||||
* | ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify. | markm | 2003-10-18 | 17 | -137/+120 |
| | |||||
* | Remove a GCC specifig CFLAG. We should be using WARNS=? for this. | markm | 2003-10-18 | 1 | -1/+1 |
| | | | | | WARNS=? is not added here at this point, because I've not tested it on enough platforms, and I don't want to break builds. |