Jeffrey Hsu
c1f20410c2
Parameters for localtime_r() and gmtime_r() definitions changed.
...
Parameters for pthread_getspecific() call changed.
pthread_keycreate() renamed to pthread_key_create().
1996-11-11 09:14:24 +00:00
Jeffrey Hsu
3384e369af
Parameters pthread_getspecific() changed.
1996-11-11 09:11:59 +00:00
Jeffrey Hsu
9144f05e36
Add pthread_mutexattr_init() and pthread_mutexattr_setkind_np().
1996-11-11 09:09:30 +00:00
Jeffrey Hsu
d8fadc0e80
Add uthread_attr_init.c, uthread_attr_setstacksize.c, uthread_mattr_init.c,
...
uthread_mattr_kind_np.c, uthread_multi_np.c, and uthread_single_np.c.
1996-11-11 09:08:11 +00:00
Jeffrey Hsu
509de77c10
Moved enum pthread_mutextype to pthread.h.
...
Add pthread_mutexattr_default definition.
1996-11-11 09:07:05 +00:00
Jeffrey Hsu
f258836a24
Make pthread_getspecific() compliant with the final IEEE pthreads
...
specification: return parameter passing changed.
1996-11-11 09:05:29 +00:00
Andrey A. Chernov
d7b100f932
kvm_malloc:
...
When malloc fails. don't try to memset NULL pointer, it cause core dump
Replace malloc+memset with calloc, theoretically it can do some
optimization of zeroing process internally
Improve error diagnostic
1996-11-11 08:28:47 +00:00
Joerg Wunsch
94fbd76c28
Merge from the 2.2 branch: describe MNT_FORCE for mount(2).
1996-11-10 09:28:20 +00:00
David E. O'Brien
747b64b167
Added to MNT_FORCE option description after seeing Bruce's commit message
...
dealing w/the fixit floppy.
Also added the MNT_RELOAD, MNT_WANTRDWR, MNT_ASYNC, MNT_NOATIME,
MOUNT_UNION flags. Someone might want to check my description of MNT_RELOAD.
2.2-R candidate. Not a 2.1.6-R candidate -- some current flags aren't in
2.1.5-R's version.
1996-11-10 05:56:43 +00:00
Bill Paul
9fa75c1550
- Avoid possible SEGVs: never call clnt_destroy() without checking
...
for NULL RPC client handles. This should hopefully fix the problems
Satoshi reported on -current.
- Add socket descriptor sanity checks to _yp_unbind().
- Fix yp_order() so that it handles the RPC_PROCUNAVAIL error gracefully.
NIS+ in YP compat mode doesn't support the YPPROC_ORDER procedure.
This is a 2.2 candidate with bells on.
1996-11-08 01:42:02 +00:00
Bruce Evans
b1f6a5fb5d
Document that the `old' count is returned for the ENOMEM case.
1996-11-04 17:03:34 +00:00
Mark Murray
58dee85f34
Compile libtelnet from eBones, not secure.
...
2.2 candidate.
1996-11-03 16:59:04 +00:00
Peter Wemm
c293d821b3
Doc updates and cleanups made with the bind-4.9.4 update some time ago.
...
I thought I had committed these, but it seems not.
1996-11-01 06:29:00 +00:00
Peter Wemm
df9c30afec
Add an "officially undocumented" tweak for squid so that it can see the
...
TTL of DNS records that it looks up for it's resolver cache.
Obtained from: Endre Balint Nagy <bne@CareNet.hu>, via squid-1.1.x source.
1996-11-01 06:25:43 +00:00
John Dyson
c8318ed6c3
Correct a "spelling" error in a comment.
1996-10-31 17:50:45 +00:00
Peter Wemm
836a60691b
Regenerate. This backs out my previous change to TCL_SHLIB_SUFFIX, since
...
it has side effects elsewhere.
1996-10-31 16:09:04 +00:00
Andrey A. Chernov
7a15396329
Replace collate_range_cmp call with its code
1996-10-31 04:55:47 +00:00
Andrey A. Chernov
c61cea7272
collate_range_cmp -> __collate_range_cmp
1996-10-31 04:38:21 +00:00
Andrey A. Chernov
edcfa07284
collate_range_cmp -> __collate_range_cmp
1996-10-31 04:32:27 +00:00
Andrey A. Chernov
38aa46cdf0
Rename collate_range_cmp to __collate_range_cmp for internal usage
...
inside libc. Add collate_range_cmp as alias to __collate_range_cmp
for temp. backward compatibility.
collate_range_cmp will be replaced with direct code for each
external program for compatibility with the rest of world
1996-10-31 04:25:14 +00:00
Peter Wemm
e6f0209e40
Regenerate.
...
No changes other than "instructions" for what other tools that use this
.. "interesting" .. system should name their shared libraries. This was
broken for some tools (eg: expect-5.21) even for the native tcl build (ie,
it would end up using libexpect521.so, not libexpect521.so.1.0)
1996-10-30 08:49:33 +00:00
Poul-Henning Kamp
f3f639a106
If you run with option Z and malloc fails, memset gets called
...
with a NULL pointer (archie)
Explain that minsize is also the smallest alignment.
Submitted by: Archie Cobbs <archie@whistle.com>
1996-10-29 20:35:39 +00:00
Peter Wemm
62875fe88b
Regenerated.. Use new minor number for both installed names, not just
...
one of them.
1996-10-29 04:36:25 +00:00
Wolfram Schneider
9c91ce9853
Do not make symbolic links from obj directory into source tree,
...
it may break `make reinstall'. Use cp(1).
simplify makefile
1996-10-26 23:38:07 +00:00
Joerg Wunsch
55e0d3b7cf
Fix an off-by-one error in getvfsent().
...
Detected by: phkmalloc :)
1996-10-26 21:53:21 +00:00
Alexander Langer
90a720bc0d
Note that streams are now flushed on abort.
...
Change standards section to reflect POSIX 1003.1-1990 conformance.
1996-10-26 18:14:44 +00:00
Poul-Henning Kamp
7bd7818f1c
Various cosmetics
...
Improve chances of troublefree 64bit operation. [imp]
Noticed by: Warner Losh <imp@village.org>
1996-10-26 08:19:07 +00:00
Alexander Langer
a3f90e9bd5
POSIX requires stdio buffers be flushed on abort.
...
Obtained from: OpenBSD, Thorsten Lockert <tholo@OpenBSD.ORG>
1996-10-26 01:42:33 +00:00
Bruce Evans
1ab6205ce1
Moved #include of <sys/types.h> earlier so that this compiles when
...
<stdio.h> doesn't (bogusly) include <sys/types.h>.
Cleaned up #includes.
1996-10-25 06:48:29 +00:00
Andrey A. Chernov
3deeb59da9
GNU-style changes:
...
1) Rename FNM_ICASE to FNM_CASEFOLD
2) Add FNM_LEADING_DIR
Add proper (unsigned char) casts to tolower().
Use 'char' function argument for proper sign extension
1996-10-23 16:40:20 +00:00
Andrey A. Chernov
967a5cb181
Simplify debug output
...
Simplify collate_range_cmp for ASCII-compatible collate we have now
1996-10-23 15:35:46 +00:00
Poul-Henning Kamp
52377df350
Add #include <sys/types>
1996-10-22 16:28:56 +00:00
Poul-Henning Kamp
40060a90b9
close bin/1648 libmd not 64bit safe.
...
if something fails to compile now, you need to add #include <sys/types.h>
Partially Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>
1996-10-22 16:27:47 +00:00
Joerg Wunsch
a098bfd775
Fix a potential memory leak i've introduced with my recent patch.
...
Reviewed by: bde
1996-10-21 23:56:23 +00:00
Wolfram Schneider
95e4966c47
add flag FNM_ICASE for case insensitve search
...
Reviewed by: ache
1996-10-20 15:15:59 +00:00
Poul-Henning Kamp
2e7c91ff16
malloc_pages should be static.
...
Add progname to warning/error message layout. (joerg)
Remove inline assembler, no speed impact, not need for the obfuscation (bde)
Remove on the fly calculation of parameters, no longer critical.
Make D & U flags valid even if we don't support them.
Don't call imalloc until we're done initializing.
Zap contents on free() if we have "Junk" set. [*]
Various nitpicking.
[*] As a sideeffect of this change, if you are worried about
sensitive data lingering in memory, you can use the 'Junk' option
now to make sure phkmalloc zaps memory when it is returned. add
char * malloc_options = "J";
to your source. Obviously there is a performance impact.
1996-10-20 13:20:57 +00:00
Joerg Wunsch
5fae0297db
Remove the arbitrary limit for the line length in /etc/ttys, and make
...
the buffer dynamic.
Closes PR # misc/1838: getttyent() arbitrary 100...
1996-10-19 16:29:10 +00:00
Peter Wemm
ba8f828b88
Back out most of the last backout. :-) Guido removed the 1.1.1.1->1.1.1.2
...
changes from the vendor branch as well, backing the db-1.82 changes.
This file should now be the same as it was in rev 1.1.1.2.
1996-10-19 01:34:25 +00:00
Guido van Rooij
c3449f0d2b
Backout bzero patch.
...
Somehow, I also managed to get quite some other changes in this file at
the same time. All I did was checkout the file and made a single change.
If someone has an explanation how these PURIFFY defines got in...
1996-10-18 19:56:51 +00:00
Andrey A. Chernov
9fe1a5aaab
After some thinking implement alternative way:if it is impossible
...
to confirm password, don't tell that s/key required, but
ask for password in anycase. It looks like non-s/key system
from outside.
1996-10-18 16:52:33 +00:00
Andrey A. Chernov
4737abd588
Make PERMIT_CONSOLE to work not only from
...
/dev/console, but from syscons vty's too
1996-10-17 21:49:34 +00:00
Guido van Rooij
102b3fa4c8
When freeing buffers in the db routines, also zeroize them
...
This should solve the bug where a coredumping ftpd reveals
encrypted passwords.
Obtained from: OpenBSD
1996-10-17 18:27:58 +00:00
Andrey A. Chernov
6903b42cd8
Change "nope" to ":"
...
Previous variant not work well, if you have a user with name nope
1996-10-17 16:47:22 +00:00
Andrey A. Chernov
811a3c8d54
Prevent namespace pollution cause by this library by splitting to
...
API and non-API functions and giving _sk_ prefix for all non-API
functions. Old names will be available by _SKEY_INTERNAL define
it allows not change anything in keyinit & key, only -D_SKEY_INTERNAL required.
Staticise some things.
1996-10-17 15:22:46 +00:00
Andrey A. Chernov
590b04e005
If 1) regular Unix passwords not permitted and 2) skey database
...
for this user not activated, there no correct password exist,
so don't bother ask for it and return "" immediately
1996-10-17 13:43:58 +00:00
Andrey A. Chernov
96b74d637f
Make it work in localized environment, replace strftime's %b which can be
...
in national form with months names table
1996-10-17 12:45:39 +00:00
Peter Wemm
0d4453d303
Corrently null-terminate the path being passed to the opendir() calls,
...
malloc() does is not defined to return a zeroed buffer leading to
"strange" problems.
Submitted by: Karl Denninger <karl@mcs.com>, PR#1826
1996-10-17 00:40:04 +00:00
Jordan K. Hubbard
a0735deb48
Bring back ns_* routines; we need them for ifconfig and route.
1996-10-16 19:38:51 +00:00
Andrey A. Chernov
1642f84deb
Save half of space in LC_COLLATE and remove unneded code.
...
This change is not compatible with previous variant, however proper
error code returned in both cases.
Colldef changes will follows.
1996-10-15 21:53:23 +00:00
Poul-Henning Kamp
139107f0ff
A couple of minor nits.
...
Submitted by: Craig Leres <leres@ee.lbl.gov>
Submitted by: Theo Deraadt <deraadt@theos.com>
1996-10-14 08:34:02 +00:00