| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Submitted by: "Peter Avalos" <pavalos@theshell.com>
Reviewed by: /sbin/md5 [*]
[*] This line appears courtesy of Mr. Warner Losch, all rights reversed.
Notes:
svn path=/head/; revision=70537
|
|
|
|
| |
Notes:
svn path=/head/; revision=70525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
quitting every time. The way to free a CIRCLEQ was to loop until
the current == current->head, but the way to free a TAILQ is to loop
until current->head == NULL.
In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks
and TAILQ_REMOVE()al of TAILQ_FIRST(). This bug wouldn't have happened
if the loop wasn't hard-coded...
There may be more bugs of this type from the conversion.
Notes:
svn path=/head/; revision=70512
|
|
|
|
| |
Notes:
svn path=/head/; revision=70492
|
|
|
|
| |
Notes:
svn path=/head/; revision=70482
|
|
|
|
| |
Notes:
svn path=/head/; revision=70481
|
|
|
|
|
|
|
| |
mangled and could do with some word-smithing.
Notes:
svn path=/head/; revision=70422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so I am backing it out for now. The problem is that some random program
calling crypt() could be passing a DES salt and the crypt(3) library
would encrypt it in md5 mode and there would be a password mismatch as a
result. I wrote a validater function for the DES code to verify that
a salt is valid for DES, but I realized there were too many strange things
to go wrong. passwd(1), pw(8) etc still generate md5 passwords by default
for /etc/master.passwd, so this is almost academic. It is a big deal for
things that have their own crypt(3)-ed password strings (.htaccess,
etc etc). Those are the things I do not want to break.
My DES salt recognizer basically checked if the salt was either 2 or
13 characters long, or began with '_' (_PASSWORD_EFMT1). I think it
would have worked but I have seen way too much crypt() mishandling
in the past.
Notes:
svn path=/head/; revision=70421
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one-way hash functions for authentication purposes. There is no more
"set the libcrypt->libXXXcrypt" nightmare.
- Undo the libmd.so hack, use -D to hide the md5c.c internals.
- Remove the symlink hacks in release/Makefile
- the algorthm is set by set_crypt_format() as before. If this is
not called, it tries to heuristically figure out the hash format, and
if all else fails, it uses the optional auth.conf entry to chose the
overall default hash.
- Since source has non-hidden crypto in it there may be some issues with
having the source it in some countries, so preserve the "secure/*"
division. You can still build a des-free libcrypt library if you want
to badly enough. This should not be a problem in the US or exporting
from the US as freebsd.org had notified BXA some time ago. That makes
this stuff re-exportable by anyone.
- For consistancy, the default in absence of any other clues is md5. This
is to try and minimize POLA across buildworld where folk may suddenly
be activating des-crypt()-hash support. Since the des hash may not
always be present, it seemed sensible to make the stronger md5 algorithm
the default.
All things being equal, no functionality is lost.
Reviewed-by: jkh
(flame-proof suit on)
Notes:
svn path=/head/; revision=70419
|
|
|
|
| |
Notes:
svn path=/head/; revision=70412
|
|
|
|
| |
Notes:
svn path=/head/; revision=70274
|
|
|
|
|
|
|
| |
FTP_ANONYMOUS_USER.
Notes:
svn path=/head/; revision=70273
|
|
|
|
|
|
|
|
|
|
|
| |
global time of day. This costs us nothing, but is a bit of a hack
to work around a process blocking and not having the time updated
by an ITIMER_PROF signal.
PR: 23679
Notes:
svn path=/head/; revision=70233
|
|
|
|
|
|
|
|
|
|
| |
Restoration of a threads signal mask after invocation of a signal
handler may allow pending signals to become deliverable.
PR: 23647
Notes:
svn path=/head/; revision=70231
|
|
|
|
|
|
|
|
|
|
| |
if (data);
free(data);
Discovered by: emacs cc-mode
Notes:
svn path=/head/; revision=70128
|
|
|
|
| |
Notes:
svn path=/head/; revision=70022
|
|
|
|
| |
Notes:
svn path=/head/; revision=70015
|
|
|
|
|
|
|
| |
no scheme or host part.
Notes:
svn path=/head/; revision=69975
|
|
|
|
|
|
|
| |
GCC 2.97 (snapshot) complains about this.
Notes:
svn path=/head/; revision=69968
|
|
|
|
|
|
|
|
|
|
|
|
| |
present, this is limited to turning on the packet option if any of
disk slices begin above cylinder 1023. The effect of this change
should therefore be to automatically enable LBA support, as needed,
when installing FreeBSD.
Something-of-the-kind-requested-by: peter
Notes:
svn path=/head/; revision=69920
|
|
|
|
|
|
|
| |
the 1.18 -> 1.20 and fix the .Fx issue the right way.
Notes:
svn path=/head/; revision=69899
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
no longer contains kernel specific data structures, but rather
only scalar values and structures that are already part of the
kernel/user interface, specifically rusage and rtprio. It no
longer contains proc, session, pcred, ucred, procsig, vmspace,
pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If
any of these changed in size, ps, w, fstat, gcore, systat, and
top would all stop working. The new structure has over 200 bytes
of unassigned space for future values to be added, yet is nearly
100 bytes smaller per entry than the structure that it replaced.
Notes:
svn path=/head/; revision=69896
|
|
|
|
|
|
|
|
|
|
|
| |
identification and descriptions of most capabilities, current inheritence
rules, etc. More to follow.
Reviewed by: sheldonh
Obtained from: TrustedBSD Project
Notes:
svn path=/head/; revision=69859
|
|
|
|
| |
Notes:
svn path=/head/; revision=69857
|
|
|
|
|
|
|
|
|
|
| |
to "telldir.h" in order to prevent namespace pollution in
<dirent.h> (which was including <sys/queue.h>).
Add $FreeBSD$ to rewinddir.c and seekdir.c.
Notes:
svn path=/head/; revision=69841
|
|
|
|
|
|
|
| |
Use _PATH_* where where possible.
Notes:
svn path=/head/; revision=69793
|
|
|
|
| |
Notes:
svn path=/head/; revision=69759
|
|
|
|
|
|
|
| |
backslash as a special char, but not all.
Notes:
svn path=/head/; revision=69756
|
|
|
|
|
|
|
|
|
|
|
| |
member f_devdata to be a pointer to a socket number. When currdev
is "pxe", that assumption is correct. When currdev is "disk*", that
assumption is incorrect.
Submitted by: Jim Browne <jbrowne@jbrowne.com>
Notes:
svn path=/head/; revision=69739
|
|
|
|
| |
Notes:
svn path=/head/; revision=69675
|
|
|
|
|
|
|
|
|
|
| |
and had libfetch selecting passive mode even when FTP_PASSIVE_MODE was not
set at all, which is really quite surprising unless you know about it. So
change it to the agreed default behaviour of selecting passive mode if
FTP_PASSIVE_MODE is set, but not "no".
Notes:
svn path=/head/; revision=69670
|
|
|
|
| |
Notes:
svn path=/head/; revision=69662
|
|
|
|
| |
Notes:
svn path=/head/; revision=69661
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
telldir positions. This will allow (future) locking on a
per-DIR basis (for MT-safety). For now, this change does
the following:
o Remove the hash table from telldir.c. Recode to use queue
macros.
o Remove 'const' from 'telldir(const DIR *)'.
o Remove 'register' variables as suggested in a recent
thread.
No response from: -current
Notes:
svn path=/head/; revision=69656
|
|
|
|
|
|
|
|
|
| |
sprintf/vsprintf.
Approved by: peter
Notes:
svn path=/head/; revision=69653
|
|
|
|
|
|
|
| |
generated files land. Also give precedence to generated files.
Notes:
svn path=/head/; revision=69640
|
|
|
|
|
|
|
|
|
|
| |
LOG_UUCP.
PR: docs/23302
Submitted by: cshumway
Notes:
svn path=/head/; revision=69637
|
|
|
|
|
|
|
|
| |
and use_default_colors.3 to default_colors.3 instead of dft_fgbg.3.
The former seems to be newer and/or better maintained.
Notes:
svn path=/head/; revision=69619
|
|
|
|
| |
Notes:
svn path=/head/; revision=69618
|
|
|
|
| |
Notes:
svn path=/head/; revision=69590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- iruserok_sa() and __ivaliduser_af() were re-organized to use
__ivaliduser_sa()
- __icheckhost() was re-written to use getaddrinfo() instead of
getipnodebyname()
- better handling of multiple destination addresses in rcmd()
These changes were basically taken from KAME and changed to fit our
rcmd.c.
Obtained from: KAME
Notes:
svn path=/head/; revision=69575
|
|
|
|
| |
Notes:
svn path=/head/; revision=69563
|
|
|
|
|
|
|
|
|
|
|
| |
a NULL argument. Some programs change the contents of the argv
array, typically to remove some special arguments. They shorten
argv by storing a NULL where an argument pointer used to be. Such
programs core dumped if they called setproctitle(), because it
would try to apply strlen() to a NULL pointer.
Notes:
svn path=/head/; revision=69560
|
|
|
|
|
|
|
|
| |
iterating over the arguments. Doing so wipes out the value which
is about to be stored into the ps_strings structure.
Notes:
svn path=/head/; revision=69558
|
|
|
|
| |
Notes:
svn path=/head/; revision=69555
|
|
|
|
| |
Notes:
svn path=/head/; revision=69515
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of immediately after the fclose. The previous logic did work
on freebsd, but is somewhat risky practice (and causes trouble when
porting to other OS's).
PR: bin/22965
Reviewed by: Garrett Wollman
Notes:
svn path=/head/; revision=69502
|
|
|
|
| |
Notes:
svn path=/head/; revision=69466
|
|
|
|
| |
Notes:
svn path=/head/; revision=69465
|
|
|
|
| |
Notes:
svn path=/head/; revision=69464
|