christos
537eb26ac2
add stat12 compatibility calls and rename ostat to stat43
1997-10-16 23:50:36 +00:00
christos
bb19445ec6
PR/4269: msync is missing MS_*
1997-10-16 23:49:38 +00:00
christos
0fdb3e720f
Rename to vm_12.c
1997-10-16 23:46:52 +00:00
mycroft
2587de6af9
Adjust u_int arguments of some system calls to int, to match user-level
...
prototypes.
1997-10-15 17:03:52 +00:00
fvdl
93b08eefc2
u_long -> off_t, I missed the big endian case. From Juergen Hannken-Illjes
1997-10-10 13:03:32 +00:00
mrg
74f573d85d
remove advertising clause from all my licenses.
1997-10-10 05:39:47 +00:00
fvdl
811fbe17b5
Add getdirentries backward compat syscall. Provide common function to
...
signal cookie overflow during emulated getdents and friends.
1997-10-10 01:46:59 +00:00
jonathan
d8418c511e
machine/psl.h is deprecated; move #include <machine/psl.h> inside #ifdef m68k.
1997-09-03 21:06:50 +00:00
thorpej
8671b8f854
Don't #ifdef compat_12_sys_swapon() so that it can be used by other compat
...
modules.
1997-06-13 17:28:29 +00:00
mrg
00b1926b5b
put the front end into libc.
1997-06-12 22:04:50 +00:00
mrg
df072ab6f9
make this sys_swapon() for now.
1997-06-12 21:55:47 +00:00
mrg
bd8a2cdada
bring mrg-vm-swap2 onto mainline.
1997-06-12 17:35:18 +00:00
christos
ca0d389297
PR/3701: Arne H. Juul: olstat can't stat "/", because it still pretended
...
that symlinks don't have inodes.
1997-06-06 19:36:31 +00:00
cjs
7a66732d34
Back out BUILDDIR and NOINSTALL changes.
1997-05-31 21:21:13 +00:00
cjs
75380e08a1
Use new NOINSTALL option for libraries that are used only during the build
...
of a program, and not installed into the final system.
1997-05-30 01:55:09 +00:00
mycroft
185b24dd5b
Use libinstall::, not install:, to prevent instaling LIB.
1997-05-07 16:20:26 +00:00
gwr
9228e630d5
s/boot/cpu_reboot/
1997-03-26 23:44:27 +00:00
cgd
78d5e815bf
clean up substantially. Transform clean, depend, cleandir targets from ::
...
to :, so they can be used e.g. with <bsd.prog.mk>. Standardize variable
names used to configure kernel libraries.
Variables used by these Makefile.inc's are:
S must be set to the top of the 'sys' tree.
${LIB}DST may be set to the location of the directory where library
objects are to be built. Defaults to ${.OBJDIR}/lib/${lib}.
${LIB}_AS may be set to 'obj' to build a object from the library's
object files. (Otherwise, a library will be built.)
Defaults to 'library'.
${LIB}MISCMAKEFLAGS
Miscellaneous flags to be passed to the library's Makefile when
building. See library's Makefile for more details about
supported flags and their default values.
(where LIB is COMPAT, and lib is compat, in this case.)
1997-01-23 22:58:26 +00:00
christos
56829373e8
PR/2981: use ${VAR:Q} instead of '${VAR}' to avoid quoting problems
1996-12-26 21:30:59 +00:00
cgd
ce53653783
make the namei struct members ni_dirp and ni_next, and the componentname
...
struct member cn_nameptr 'const', since they should never be used to
modify the path name. (Only the pathname buffer, cn_pnbuf, should be
modified.) Propagate the const poisoning to code that uses the namei
and componentname structs.
1996-10-25 23:13:58 +00:00
explorer
8e8c326f5d
Spelling error
1996-10-22 22:28:20 +00:00
christos
53e42f3487
Backout previous kprintf change.
1996-10-13 00:46:49 +00:00
thorpej
bddeb30297
Don't inline stackgap_init() and stackgap_alloc(). Doing so generates
...
an include file dependency graph that's much more complicated than
it needs to be, and wastes space in the kernel.
1996-10-12 02:12:55 +00:00
christos
5476886e52
printf -> kprintf, sprintf -> ksprintf
1996-10-10 17:47:29 +00:00
ghudson
ed1f3fd647
Handle relative paths to the source tree if they begin with '.'.
1996-09-23 05:01:52 +00:00
mycroft
811315ca92
Add anchors so that only exactly `-I. is modified.
1996-08-10 04:01:29 +00:00
mycroft
9c5b0780c0
Convert the -I. to -I${.OBJDIR}, so that the `machine symlink is available.
1996-08-10 03:00:51 +00:00
mrg
5abbf990f3
Change reboot(2) to take two arguments: bootopt like normal and also
...
a boot string for firmware that can do this, such as the SPARC and
the sun3 models. It is currently silently ignored on all other
hardware now, however. The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
mycroft
44f440543f
We dont need to pass down COMPATDIR and KERNDIR.
1996-08-08 15:15:16 +00:00
mycroft
3f0b5a641e
Run the child make in the source directory, so that nothing here needs to be
...
changed when the compile directory is outside the source tree.
1996-08-08 15:06:39 +00:00
christos
7120dce626
Fix mysterious dissappearance of the .PATH directive.
1996-06-30 00:17:02 +00:00
mycroft
5262bdf053
Remove the old (broken) setre[ug]id() emulation.
1996-06-23 11:20:42 +00:00
mrg
663808dfc5
use ' not " when passing variables to a sub-make. pr#1199/pr#1296
1996-05-20 17:23:25 +00:00
mark
847038524a
cast -1 to a char for comparision with tc->t_brkc so that this test
...
will work with signed and unsigned chars.
1996-05-20 14:29:17 +00:00
veego
d5db0e464d
Put this into an #ifdef COMPAT_OLDTTY.
...
look in <sys/tty.h> for more infomations about that.
1996-05-18 22:17:49 +00:00
christos
f09036d6ec
- Moving cpu_exec_aout_prep_oldzmagic -> exec_aout_prep_oldzmagic.
...
This is used by the i386, hp300 and mac68k ports.
- Added exec_aout_prep_oldomagic, and exec_aout_prep_oldnmagic
These are just copies of the respective prep functions from
kern_exec.c with text address starting at 0. Maybe a better fix
is to pass the starting address as a third argument so we don't
duplicate code, but this could be the next pass since the functions
are used in many places. These functions are used for BSDI binaries.
1996-05-18 15:52:19 +00:00
christos
268e6edf33
Support bsdi getkerninfo(SYSINFO,...) call so that the BSDI netscape
...
calling uname(3) can find out what os it is running on. Tested only with a
bsdi binary that calls getkerninfo directly. Funny thing is that I ran
the same binary on a bsdi machine, and they fill in fewer fields in the
emulation than we do; maybe I went overboard :-)
1996-05-18 01:24:34 +00:00
mycroft
540f9550c0
Make `make depend' work for libraries.
1996-05-11 16:11:30 +00:00
christos
6cbf515e30
Fix compiler warnings
1996-03-14 19:31:45 +00:00
cgd
c9a23604b9
fourth argument to kern_sysctl() must be a size_t *. simply passing a pointer
...
to SCARG(uap, len) won't do, because that'd be an int *. copy the value
into a size_t, and pass pointer to that.
1996-02-21 00:10:59 +00:00
christos
647dfa216e
Don't declare MSG_COMPAT in two places.
...
More prototype fixes
1996-02-10 00:12:44 +00:00
christos
a18394e8c3
Extracted vm compat functions from vm and added them here where they belong.
1996-02-05 01:58:28 +00:00
christos
ec3976413e
kern_sysctl was missing process argument. Elimited -Wall warnings from
...
the files that were affected
1996-02-04 02:02:14 +00:00
mycroft
f96fc7f12e
Simplify, and add support for passing CPPFLAGS.
1996-02-02 20:34:38 +00:00
christos
32a57f01bc
Renamed compat_tty.c to tty_43.c and updated with the newest copy from
...
kern/tty_compat.c
1996-02-02 18:47:50 +00:00
jtc
2fce159ff8
Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
...
traditional usage.
1996-01-04 22:21:33 +00:00
mycroft
d67fb08153
Make sure we free the pathname buffer in all error cases.
1995-10-22 08:20:44 +00:00
cgd
d71e8d0d69
set, don't add to, CFLAGS from COMPATCFLAGS
1995-10-20 00:34:15 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
thorpej
4a15671a68
Fix the declaration of compat_43_wait() (int * -> register_t *), pointed
...
out by Chris Demetriou.
1995-09-29 05:18:41 +00:00