#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
241848 |
|
22-Oct-2012 |
eadler |
Check the return error of set[e][ug]id. While this can never fail in the current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail.
Submitted by: Erik Cederstrand Approved by: cperciva MFC after: 3 days
|
#
239991 |
|
01-Sep-2012 |
ed |
Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype:
int gettimeofday(struct timeval *restrict tp, void *restrict tzp);
Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0.
While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
|
#
231994 |
|
22-Feb-2012 |
kevlo |
Handle NULL return from crypt(3). Mostly from DragonFly
|
#
227169 |
|
06-Nov-2011 |
ed |
Add missing static keywords to lock(1)
|
#
216737 |
|
27-Dec-2010 |
ed |
Fix style bug introduced in r216696.
Additional indentation caused the line to become longer than 80 columns.
|
#
216696 |
|
25-Dec-2010 |
ed |
Slightly improve output of lock(1).
- Remove the /dev/ portion of the TTY name. - In case we use lock -p, print the username that was used to obtain the password hash.
|
#
216370 |
|
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
#
209567 |
|
28-Jun-2010 |
gavin |
Make WARNS=6 safe.
Tested by: make universe
|
#
200462 |
|
13-Dec-2009 |
delphij |
Revert most part of 200420 as requested, as more review and polish is needed.
|
#
200420 |
|
11-Dec-2009 |
delphij |
Remove unneeded header includes from usr.bin/ except contributed code.
Tested with: make universe
|
#
124824 |
|
22-Jan-2004 |
cperciva |
Two fixes here: 1. If fgets fails, don't go into an infinite cpu-intensive loop. Instead, check to see if the terminal still exists, and sleep(1) otherwise. 2. When we check to see if the terminal still exists, make sure we're not mislead by EINTR. This could have been a security issue, but fortunately the current implementation of tcgetattr doesn't EINTR.
PR: bin/60758 Approved by: rwatson (mentor)
|
#
119632 |
|
01-Sep-2003 |
kan |
Eliminate last three uses of varargs.h in the tree. These three files were including varargs.h file but did not use any of its macros, so they escaped the clean-up before.
|
#
110609 |
|
10-Feb-2003 |
tjr |
Make this work without COMPAT_43 by using tcgetattr()/tcsetattr() instead of ioctl TIOCGETP/TIOCSETP.
|
#
102944 |
|
04-Sep-2002 |
dwmalone |
ANSIify function definitions. Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings.
Reviewed by: md5
|
#
100806 |
|
28-Jul-2002 |
dd |
Add a -v option that prevents switching virtual terminals while this terminal is locked. This permits the user to easily lock the entire console from a single terminal.
|
#
99709 |
|
10-Jul-2002 |
dd |
Correct a comment: Typing in the root password at the "Key:" prompt doesn't (and shouldn't) work.
|
#
99708 |
|
10-Jul-2002 |
dd |
Fix indentation: Don't use space where tabs will do; specifically, don't use spaces at the beginning of a line where tabs are normally used (the worst thing was that half of this file was right (tabs) and half was wrong (spaces), making for painful reading).
Reviewed by: /sbin/md5, diff -b
|
#
99112 |
|
30-Jun-2002 |
obrien |
Consistently use FBSDID
|
#
92920 |
|
22-Mar-2002 |
imp |
remove __P
|
#
87286 |
|
03-Dec-2001 |
dwmalone |
Warns cleanups: Signal handlers are supposed to take an int as an arg. Don't locally declare crypt or ttyname.
|
#
52159 |
|
12-Oct-1999 |
nectar |
Fix a style bug that I introduced (both sys/param.h and sys/types.h included).
Caught by: sheldonh@freebsd.org
|
#
52158 |
|
12-Oct-1999 |
nectar |
log root unlock attempts
PR: bin/13932
|
#
50477 |
|
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
37262 |
|
29-Jun-1998 |
bde |
Don't assume that time_t is long.
|
#
27575 |
|
21-Jul-1997 |
charnier |
Use err(3). Add usage().
|
#
24360 |
|
29-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
18295 |
|
14-Sep-1996 |
roberto |
Closes PR bin/1567
/usr/bin/lock can be used to lock a terminal much like xlock does for your X-windows session. Problem is, /usr/bin/lock cannot lock your terminal indefinately. Rather you must specify a timeout value, after which, your terminal is unlocked and become unsecured.
I have added a ``-n'' no timeout option to /usr/bin/lock Currently the only way to get this functionality is to use a huge timeout value and hope it is long enought (in time). This method also requires you to know the maxium number of minutes you are allowed to specify.
Submitted by: David E. O'Brien <obrien@Nuxi.cs.ucdavis.edu>
|
#
1591 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|
#
1590 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Usr.bin Sources
|