kleink
a2cd9cfb2f
Add tcgetsid.c (for thorpej).
1998-02-14 20:20:44 +00:00
kleink
b8ae64f983
Oops, silly typo in last commit. Sigh.
1998-02-14 20:19:35 +00:00
kleink
a2e65602ea
Generate syscall stubs for getsid() (from thorpej), __posix_chown(),
...
__posix_fchown() and __posix_lchown().
1998-02-14 20:18:12 +00:00
kleink
f339e80ad6
Regen: syscalls.master change (addition of __posix_chown(), __posix_fchown(),
...
__posix_lchown(); posix_rename() -> __posix_rename()).
1998-02-14 20:05:53 +00:00
kleink
3404e6deb3
Implement __posix_chown(), __posix_fchown() and __posix_lchown(). Also,
...
rename posix_rename() to __posix_rename() to follow this convention.
1998-02-14 20:01:05 +00:00
kleink
e34b0a84a9
Move some permission-checking code for file owner/group changes up to
...
vfs_syscalls.c::change_owner(). Also, always update the inode's change time
if the operation succeeds.
1998-02-14 19:56:30 +00:00
kleink
3ef309317a
* Factor out some permission-checking code from ufs_setattr() into
...
change_owner().
* Change the semantics of chown(), fchown() and lchown(): when requesting a
change of the owner of a file, clear the set-user-id bit; analogous behaviour
for group changes.
* Since the above is a violation of the semantics specified by POSIX and
X/Open, add corresponding compatibility syscalls: __posix_chown(),
__posix_fchown(), __posix_lchown(). (Neither fchown() nor lchown() is
specified by POSIX; the prefix is intended to reflect the semantics.)
* Rename posix_rename() to __posix_rename() to follow the above convention.
1998-02-14 19:49:43 +00:00
kleink
59fe905973
Fix variable declarations: register -> register int.
1998-02-14 19:34:12 +00:00
pk
0fc808b760
Think-o in pmap_extract4m(), detected by UVM.
1998-02-14 09:28:52 +00:00
mycroft
371ff49dd5
Kill a GCC warning on the SPARC.
1998-02-14 07:25:55 +00:00
cgd
1584dc4420
The pmap_emulate_reference warning about the page not being managed should
...
be a panic instead. If it's hit, "random" memory is going to be corrupted.
1998-02-14 02:04:05 +00:00
thorpej
8d14398fed
Note that tcgetsid(3) and getsid(2) are not yet built into the C library.
...
This is because with a day or two, 3 other system calls are going to be
added to the C library, and we want to avoid bumping the minor number
twice.
1998-02-14 01:40:22 +00:00
thorpej
e6eb50fc11
Add getsid.2
1998-02-14 01:38:36 +00:00
thorpej
4af6e3220d
Document getsid(2).
1998-02-14 01:38:21 +00:00
thorpej
a83de03bf8
Add tcgetsid.3
1998-02-14 01:37:06 +00:00
thorpej
722a21c4ab
Implement tcgetsid(3) - get session ID associated with a controlling
...
terminal, per XPG4.2.
1998-02-14 01:36:14 +00:00
thorpej
5f8168f660
Use the sesssion's stored SID in getsid().
1998-02-14 01:33:18 +00:00
thorpej
8efb4289b4
syscalls.master changed; regen.
1998-02-14 01:30:20 +00:00
thorpej
44102031da
We now have a native getsid(2), so there's no need to implement it here;
...
just use sys_getsid().
1998-02-14 01:29:43 +00:00
thorpej
821a4fec46
Add a comment clearly describing that Linux's getsid(2) differs from
...
the XPG4.2 definition in that it returns the kernel virtual address
of the session structure, rather than the process group ID of the
session leader.
1998-02-14 01:28:15 +00:00
thorpej
c1538fb038
Implement TIOCGSID.
1998-02-14 01:26:50 +00:00
thorpej
5a39799ea4
Prototype tcgetsid(3), per XPG4.2.
1998-02-14 01:25:21 +00:00
cgd
1538076f47
fix pasto in last (sigh)
1998-02-14 01:18:46 +00:00
thorpej
50c9f48319
Implement getsid(2), as defined by XPG4.2: returns the process group ID
...
of the session leader of the specified process's session.
1998-02-14 01:17:51 +00:00
cgd
ab67040f58
fix for (harmless) bogon introduced in last commit
1998-02-14 01:17:19 +00:00
cgd
6c0b8a86ac
adjust changes in alpha's kcore.h.
1998-02-14 01:00:49 +00:00
cgd
e719e8f703
adjust kernel core dump code for changes in kcore.h, also clean up
...
slightly.
1998-02-14 00:53:26 +00:00
thorpej
6da644fd03
Regen: syscalls.master changes (getsid(2))
1998-02-14 00:40:45 +00:00
thorpej
da187f7f6d
Reserve syscalls 283, 284, and 285 for 3 up-coming POSIX systems calls,
...
per kleink. Add XPG4.2's getsid(2) at #286 .
1998-02-14 00:39:33 +00:00
thorpej
d2924ae854
Prevent the session ID from disappearing if the session leader exits
...
(thus causing s_leader to become NULL) by storing the session ID separately
in the session structure. Export the session ID to userspace in the
eproc structure.
Submitted by Tom Proett <proett@nas.nasa.gov>.
1998-02-14 00:37:26 +00:00
cgd
69d88fbfd6
replace the single phys_ram_seg_t with a count. an array of segment
...
descriptors will be placed after this structure in the core file.
1998-02-14 00:17:57 +00:00
tron
49a4ba96f8
Make login prompt handling smarter, fixed PR bin/3255.
1998-02-13 23:15:16 +00:00
thorpej
357829d876
Move TIOCGSID to <sys/ttycom.h>
1998-02-13 23:14:52 +00:00
thorpej
018aa6e97e
Don't include <dev/scsipi/scsipi_conf.h> twice.
1998-02-13 21:58:40 +00:00
kleink
af9cc34b3c
Add ONOCR and ONLRET output modes, from XPG4.2.
1998-02-13 21:53:44 +00:00
kleink
28ca708b8d
Reorganize namespace protection, and add ONOCR and ONLRET modes from XPG4.2.
1998-02-13 21:43:45 +00:00
kleink
c404682eed
Recognize STRIPDISC.
1998-02-13 20:45:24 +00:00
tls
c9934a9084
Change list of interface IP addresses to a hash. Improves performance on hosts with a large number of IP addresses significantly.
1998-02-13 18:21:38 +00:00
tls
561bc2f4ad
Remove rounding-down of hash size in hashinit(); support non &hashmask hash functions such as % [prime number] without bletcherous hacks.
1998-02-13 17:36:41 +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
agc
31ff3c7ebb
When generating the PLIST, if a manual page name has to have .gz added
...
or removed using sed, don't add the g at the end of the substitution
expression - there will only be one substitution per line.
1998-02-13 15:16:43 +00:00
kleink
a8bd1c7e84
Fix variable declarations: register -> register int.
1998-02-13 10:23:49 +00:00
enami
d0ad49a001
Backout previous change, and rather, remove all protection but the one
...
actually currently required. Suggested by Charles M. Hannum.
1998-02-13 08:28:16 +00:00
enami
dea45865d2
Don't include <dev/scsipi/scsi_all.h> twice.
1998-02-13 08:12:40 +00:00
scottr
f49dd3ef30
Avoid declaring the "astpending" and "want_resched" globals in cpu.h,
...
as this breaks C++ code that happens to indirectly include this header.
Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports,
which have already implemented a similar solution.
1998-02-13 07:41:45 +00:00
scottr
a3675acf9f
Make space for want_resched here, like most of the other m68k-based ports.
1998-02-13 07:39:02 +00:00
lukem
46e6c5e813
* in get_myaddress(); always return sockaddr_in containing localhost:PMAP_PORT.
...
(as recommended in Weiste Venema's portmap5_beta distribution)
* deprecate register
* use memmove instead of bcopy
* KNF includes
* use err/warn() instead of perror/fprintf(stderr,)
* fix some typos
1998-02-13 05:52:11 +00:00
thorpej
550678e57f
Oops, fix a typo.
1998-02-13 05:34:30 +00:00
thorpej
e6c31d3db7
KNF.
1998-02-13 05:33:55 +00:00
thorpej
2ca4a3f1c2
Add support for listing and dumping UVM history buffers.
1998-02-13 05:10:32 +00:00