| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
so as not to pollute application namespace.
Submitted by: bde
|
|
|
|
|
|
|
|
| |
reserved word, causing breakage when a C++ program included libutil.h
This change will be propagated elsewhere shortly.
Submitted by: jkh
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
|
|
|
| |
utility functions which convert between string namespace names and
numeric constants used by the interface. Right now, two namespaces
are supported, EXTATTR_NAMESPACE_SYSTEM ("system") and
EXTATTR_NAMESPACE_USER ("user"). These functions are used by
various userland EA utilities, rather than hard coding the routines
all over the place.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
Seperate does not exist in the english language.
Submitted to look at by: kris
|
|
|
|
|
|
|
| |
that applications know how large of a buffer they must allocate before
calling property_find(). Also added a $FreeBSD$ tag while I'm here.
Approved by: jkh
|
|
|
|
|
|
|
|
|
|
| |
getting libutil/libcrypt to work properly. I've determined that GCC
thinks it can inline all functions, including weak-symboled ones, if
it feels like it.
Create a new stub.c and move any stubs there to prevent inlining.
Thanks to jdp and William S. Duncanson for helping me finally find the
problem.
|
|
|
|
| |
(cosmetic: drop some "register" qualifications too.)
|
|
|
|
|
|
|
|
|
| |
and bump __FreeBSD_version to 500012 to mark the occasion.
setproctitle() is prototyped in unistd.h as opposed to stdlib.h
where OpenBSD and NetBSD have it.
Reviewed by: peter
|
|
|
|
| |
Approved by: green
|
|
|
|
| |
-lcrypt only happen if truly necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for crypt(3) by now. In any case:
Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).
The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)
Reviewed by: peter
|
| |
|
|
|
|
| |
PR: bin/17084
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|
| |
|
| |
|
| |
|
|
|
|
| |
function is also used by chpass(1) and passwd(1).
|
|
|
|
|
|
|
|
|
|
| |
secure permissions in case the user attempts to save something to
a file of his own.
Move umask stuff out of pw_init() into main() for better visibility
of overall umask tweaking logic.
PR: misc/11797
|
|
|
|
|
|
|
| |
for the password files.
PR: 2703
Submitted by: jmg
|
| |
|
|
|
|
| |
- some NFSes have root read access disabled
|
|
|
|
|
| |
a name by address and ensure that the name resolves
back to the original address.
|
| |
|
| |
|
|
|
|
|
| |
just been replaced. After our lock succeeds we check if st_nlink is 0
and if it is we close the descriptor and retry our open/lock sequence.
|
|
|
|
|
|
|
| |
child to the parent somehow.
PR: 8353
Submitted by: Andrew J. Korty <ajk@purdue.edu>
|
|
|
|
|
|
|
|
|
|
|
| |
execvp() in the child branch of a vfork(). Changed to use fork()
instead.
Some of these (mv, find, apply, xargs) might benefit greatly from
being rewritten to use vfork() properly.
PR: Loosely related to bin/8252
Approved by: jkh and bde
|
| |
|
|
|
|
|
| |
o make property_read() take a fd instead to avoid stdio.h mess
o update auth to new interface.
|
| |
|
| |
|
|
|
|
|
|
| |
shouldn't include other ones (which, unfortunately, is also a hellish
rule since he broke interfaces like sysctl this way by requiring undocumented
header files to be included just in order to be able to use them now - SIGH!).
|
|
|
|
|
|
|
| |
I'll convert sysinstall to use shortly) and a simple call which uses
this mechanism to implement an /etc/auth.conf file. I'll let Mark Murray
handle the format and checkin of the sample auth.conf file.
Reviewed by: markm
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Here is a some example for avoiding a confusion.
It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTNAMELEN value.
1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama
2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2
3) specgw.spec.co.jp : 202.32.13.1 -> specgw
Submitted by: Atsushi Murai <amurai@spec.co.jp>
|
|
|
|
| |
uu_lock() to another process.
|
| |
|
|
|
|
|
|
| |
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
|
|
|
|
|
|
|
|
|
|
|
| |
$ vipw
[corrupt a line in editor, exit editor]
pwd_mkdb: corrupted entry
pwd_mkdb: at line #2
pwd_mkdb:
/etc/pw.012585: Inappropriate file type or format
re-edit the password file? [y]: n^D^D
[hang]
|
| |
|
|
|
|
| |
Suggested by: guido
|
|
|
|
| |
is restricted from running a given program.
|
|
|
|
|
|
|
| |
the database.
PR: 3397
Submitted by: taob@risc.org (Brian Tao)
|
|
|
|
| |
Suggested by: joerg
|
|
|
|
|
| |
PR: 3820
Submitted by: Joseph Stein <joes@spiritone.com>
|
|
|
|
|
|
|
| |
visible type names in prototypes in user space headers. libutil.h
generates warnings with -Wall over the use of "const char *ttyname".
It's lucky it wasn't a #define conflict.
Is a single '_' prefix acceptable? or does it need to be two?
|
|
|
|
| |
disqualified.
|
|
|
|
| |
Suggested by: joerg
|