mhitch
082edecc20
Add support for mips.
1998-03-25 04:12:32 +00:00
tron
7c26d20c65
Add support for "${DESTDIR}".
1998-03-21 23:46:00 +00:00
pk
d47d43b956
Use file size from fstat(2) to map the hints file, instead of fiddling
...
with incremental mmap()'s. Squashes a bug which caused only the first
page of the hints file to unmapped.
1998-03-18 23:21:46 +00:00
pk
5ea8bb6d05
Implement RTLD_GLOBAL dlopen(3) flag.
...
Rename internal flags to avoid <dlfcn.h> name space collisions.
1998-03-15 23:10:21 +00:00
pk
b5f4c3ad5e
Check for short hints file (noticed by Chuck Silvers).
1998-03-15 21:24:27 +00:00
mycroft
28ad88290d
Remove spurious extra newline.
1998-03-03 00:36:24 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
enami
86053c56a1
Cosmetic changes; fix more indentation (just added/deleted white spaces).
1998-02-28 13:29:03 +00:00
cjs
39926e4051
Send back an error message rather than dumping core when an invalid
...
username is entered. The latter, while effective, does not appear to
me to be an appropriate response.
1998-02-23 23:10:34 +00:00
jonathan
5e0e8cec39
More table-driven changes for different toolchains:
...
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
* use OBJECT_FMT in Makefile tests that depend on toolchain.
* Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
port doesnt yet do shared libraries. Set on powerpc.
* Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.
1998-02-23 10:09:31 +00:00
mycroft
4462053ab3
Fill in missing (default) mmap(2) flags.
1998-02-20 09:27:18 +00:00
perry
ba7b5f16ff
add -DPMAP_NEW if PMAP_NEW is on in mk.conf
1998-02-18 03:54:58 +00:00
pk
9084f293a7
Print a warning message if we detect that a "copy symbol" has changed
...
size in a shared library. Also, always use our expected size to copy
the item in, on the assumption that doing so generally minimizes the
damage (maybe it's better to just bail out?).
1998-02-17 23:07:33 +00:00
tron
49a4ba96f8
Make login prompt handling smarter, fixed PR bin/3255.
1998-02-13 23:15:16 +00:00
cjs
0fb549738e
Disable RNFR command for guest users so that they can't rename (and thus
...
also overwrite!) files.
1998-02-13 17:15:53 +00:00
mrg
b788ab7665
use sysctl for "kern.boottime" over kvm_read
1998-02-12 05:27:51 +00:00
bad
8a0d3fa9d7
Make this compile with -DUVM.
1998-02-11 17:27:37 +00:00
mrg
279ce528ce
add -DUVM to CPPFLAGS if defined(UVM)
1998-02-09 06:25:15 +00:00
lukem
906cb46ddb
cons up a makefile to install whatis.db with FILES=
1998-02-09 01:34:57 +00:00
mrg
f1d37094a5
make this work in the -DUVM case.
1998-02-07 12:04:37 +00:00
perry
6982982f8d
macroize BSD, NetBSD, FreeBSD and misc cleanup
1998-02-06 05:39:31 +00:00
perry
3ed4e7c6e3
add <unistd.h> to fix compiler warning
1998-02-03 03:24:24 +00:00
perry
860ad7488c
change <strings.h> to <string.h> to fix compiler warning
1998-02-03 03:20:11 +00:00
christos
23d3afbb8c
- #endif foo -> #endif /* foo */
...
- #if __STDC__ -> #ifdef __STDC__
- Don't allow expired accounts to login.
1998-02-01 14:10:22 +00:00
mrg
c3d9fda2c3
expand on the checkportcmd option.
1998-01-23 00:56:55 +00:00
lukem
61eb3f4761
* store st_dev of filesystem not quotafile. (inspired by an openbsd commitmsg)
...
* minor KNF, fix typos, use strchr() not index()
* check return value of malloc() and use strdup() where appropriate
1998-01-21 11:37:16 +00:00
christos
36e588a416
PR/4848: Kimmo Suominen: rpc_rusersd tries to open remote host as display
...
- change LOG_ERR to LOG_DEBUG because xdisplay access fails most
of the time.
- only try the display code if the ut_host field has a :
1998-01-20 17:39:14 +00:00
perry
77fc921931
get rid of secretmail residue -- suggested in pr-4568 from Carl Shapiro
1998-01-10 00:37:34 +00:00
perry
3fe138c146
RCS Id Police.
1998-01-09 08:03:16 +00:00
lukem
69c37cf0b7
fix indenting of a block
1998-01-08 03:30:49 +00:00
perry
2ec6474b31
RCSID Police.
1998-01-06 04:44:59 +00:00
cgd
10cc9f3b70
RCS Id police
1998-01-05 22:00:34 +00:00
lukem
1e03f65c0d
clarify /etc/ftpwelcome is shown *before* login
1997-12-31 02:43:54 +00:00
lukem
53f6552a12
set $HOME to "/" for guest or chroot users, pw->pw_dir otherwise.
...
fixes expansion of `~/...' pathnames.
1997-12-28 04:28:17 +00:00
christos
04691c5e33
Overhaul:
...
- Use fgetln instead of fgets and keep track of line limits.
- Use dynamically allocated buffers instead of fixed length ones.
- Use err/warn
- Don't re-scan strings needlessly.
- Handle extensions properly for page names that contain more than
one period printing:
resolv.conf (5) - resolver configuration file
instead of:
resolv.conf (conf.5) - resolver configuration file
This fixes PR/4738: "Coredump in getNAME" as a side effect.
This program is a hack; it depends on the ``standard format'' of a man page
and can get easily confused. At least now it will not core-dump...
1997-12-22 20:02:33 +00:00
mikel
8e4d4f760b
edit a bit, and bewail inability to handle compressed manpages
1997-12-04 06:41:42 +00:00
lukem
9f8ad690b4
use 300 seconds (as per login(1)) for initial timeout, rather than 900 secs
1997-11-28 23:42:36 +00:00
lukem
0e2d417ded
* initialise curclass.timeout to 900 in main(), so that operations that
...
want to timeout using this value that are executed before the conf file
is parsed will work. fixes ``stale ftpd stuck in connection phase''
* in PASV mode, wrap accept() in an alarm timeout. fixes ``stale ftpd because
of client disappearing in pasv mode (usually browsers)''
* main() doesn't need envp argument
1997-11-28 23:32:30 +00:00
thorpej
8cbf1ce96f
Const'ify some things, rename local puts() to xputs(), since it has
...
a different prototype than the one in <stdio.h>
1997-11-18 21:29:11 +00:00
mrg
02e8f7539b
oops! dont clobber the list after building it. (pr#4528 John.P.Darrow@wheaton.edu)
1997-11-18 07:17:09 +00:00
lukem
b181ccb476
log debug stuff using LOG_DEBUG not LOG_INFO
1997-11-16 12:04:21 +00:00
msaitoh
39c2acb633
fix typo
1997-11-15 21:01:36 +00:00
pk
f58457ccca
Expand on shared object's `.init' functions a bit, and mention
...
`/usr/lib/c++rt.o'.
1997-11-13 22:25:23 +00:00
lukem
83955f6abd
* change checkportcmd syntax to `checkportcmd class [off]' (as per `modify')
...
* display current setting of checkportcmd in STAT
* ensure that curclass.checkportcmd is initialised to 0
* document default setting of checkportcmd in ftpd(8)
* cleanup code a bit, putting code for "checkportcmd" in alphabetical order
1997-11-11 12:42:24 +00:00
mrg
c8fbce69fd
increment version.
1997-11-11 06:32:17 +00:00
mrg
6666673d8e
oops, missed this bit in previous change.
1997-11-11 06:17:22 +00:00
mrg
8e2c08b183
add a "checkportcmd <class>" option that stops ftp bounce attacks.
1997-11-11 05:48:03 +00:00
lukem
52e679a138
fix so syslog works after chroot, by adding LOG_NDELAY to openlog.
...
from Andreas Wrede <andreas@planix.com>, [bin/4429]
1997-11-06 00:08:02 +00:00
lukem
dea85dc703
* remove duplicate inode entries, so files with multiple hard links are
...
only parsed once; results in a 33% speedup on a p5-200
* order SEE ALSO by section
1997-11-02 14:01:54 +00:00
lukem
7c059b1253
use $TMP and $LIST everywhere, remove $LIST upon successful exit
1997-11-02 01:26:10 +00:00