259065 |
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
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
|
201386 |
02-Jan-2010 |
ed |
Build usr.bin/ with WARNS=6 by default.
Also add some missing $FreeBSD$ to keep svn happy.
|
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
|
141846 |
13-Feb-2005 |
ru |
Expand *n't contractions.
|
131491 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
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.
|
116112 |
09-Jun-2003 |
charnier |
Introduce options definition the standard way.
|
111633 |
27-Feb-2003 |
mux |
Document the fact that VTY locking is easily bypassable when DDB is compiled in the kernel. Also add some useful xrefs to lock(1).
|
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
|
95124 |
20-Apr-2002 |
charnier |
Use `The .Nm utility'
|
92920 |
22-Mar-2002 |
imp |
remove __P
|
90415 |
08-Feb-2002 |
markm |
Remove leaf node WARNS?=2 (that mainly I added). This should help the GCC3 transition and CURRENT in general.
|
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.
|
83391 |
13-Sep-2001 |
ru |
Set BINOWN=root explicitly for setuid root binaries.
This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
68963 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
54782 |
18-Dec-1999 |
peter |
Revert the libcrypt/libmd stuff back to how it was. This should not have happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model.
|
54677 |
16-Dec-1999 |
marcel |
Add libmd (or move it after libcrypt). We don't want the linker to be smart because it will definitely get it wrong. This popped up during cross-linking.
|
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$
|
48792 |
12-Jul-1999 |
nik |
Add $Id$, to make it simpler for members of the translation teams to track.
The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so;
.\" $Id$ .\"
If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted.
Approved by: bde
|
39495 |
19-Sep-1998 |
obrien |
Remove useless `BINOWN=root' now that it is the default.
|
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>
|
2375 |
28-Aug-1994 |
bde |
Add dependencies on libraries to DPADD. Someday this should be done automagically. -lfoo has to be right to work, but ${LIBFO0} is too easy to forget or misspell; nothing checks it and it should be different for shared libraries.
|
2158 |
20-Aug-1994 |
csgr |
LDADD= -lcrypt Submitted by: Geoff
|
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.
|