| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=241848
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=239991
|
|
|
|
| |
Notes:
svn path=/head/; revision=231994
|
|
|
|
| |
Notes:
svn path=/head/; revision=227169
|
|
|
|
|
|
|
| |
Additional indentation caused the line to become longer than 80 columns.
Notes:
svn path=/head/; revision=216737
|
|
|
|
|
|
|
|
|
| |
- 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.
Notes:
svn path=/head/; revision=216696
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=216370
|
|
|
|
|
|
|
| |
Tested by: make universe
Notes:
svn path=/head/; revision=209567
|
|
|
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
Notes:
svn path=/head/; revision=201386
|
|
|
|
|
|
|
| |
needed.
Notes:
svn path=/head/; revision=200462
|
|
|
|
|
|
|
| |
Tested with: make universe
Notes:
svn path=/head/; revision=200420
|
|
|
|
| |
Notes:
svn path=/head/; revision=141846
|
|
|
|
| |
Notes:
svn path=/head/; revision=131491
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=124824
|
|
|
|
|
|
|
|
| |
were including varargs.h file but did not use any of its macros,
so they escaped the clean-up before.
Notes:
svn path=/head/; revision=119632
|
|
|
|
| |
Notes:
svn path=/head/; revision=116112
|
|
|
|
|
|
|
| |
is compiled in the kernel. Also add some useful xrefs to lock(1).
Notes:
svn path=/head/; revision=111633
|
|
|
|
|
|
|
| |
of ioctl TIOCGETP/TIOCSETP.
Notes:
svn path=/head/; revision=110609
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=102944
|
|
|
|
|
|
|
|
| |
terminal is locked. This permits the user to easily lock the entire
console from a single terminal.
Notes:
svn path=/head/; revision=100806
|
|
|
|
|
|
|
| |
doesn't (and shouldn't) work.
Notes:
svn path=/head/; revision=99709
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=99708
|
|
|
|
| |
Notes:
svn path=/head/; revision=99112
|
|
|
|
| |
Notes:
svn path=/head/; revision=95124
|
|
|
|
| |
Notes:
svn path=/head/; revision=92920
|
|
|
|
|
|
|
| |
help the GCC3 transition and CURRENT in general.
Notes:
svn path=/head/; revision=90415
|
|
|
|
|
|
|
|
| |
Signal handlers are supposed to take an int as an arg.
Don't locally declare crypt or ttyname.
Notes:
svn path=/head/; revision=87286
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=83391
|
|
|
|
| |
Notes:
svn path=/head/; revision=79755
|
|
|
|
| |
Notes:
svn path=/head/; revision=68963
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=54782
|
|
|
|
|
|
|
|
| |
smart because it will definitely get it wrong. This popped up during
cross-linking.
Notes:
svn path=/head/; revision=54677
|
|
|
|
|
|
|
|
|
| |
included).
Caught by: sheldonh@freebsd.org
Notes:
svn path=/head/; revision=52159
|
|
|
|
|
|
|
| |
PR: bin/13932
Notes:
svn path=/head/; revision=52158
|
|
|
|
| |
Notes:
svn path=/head/; revision=50477
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=48792
|
|
|
|
| |
Notes:
svn path=/head/; revision=39495
|
|
|
|
| |
Notes:
svn path=/head/; revision=37262
|
|
|
|
| |
Notes:
svn path=/head/; revision=27575
|
|
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/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>
Notes:
svn path=/head/; revision=18295
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=2375
|
|
|
|
|
|
|
| |
Submitted by: Geoff
Notes:
svn path=/head/; revision=2158
|
|
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=1590
|