Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153437066
D15638.id43221.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D15638.id43221.diff
View Options
Index: sys/kern/syscalls.master
===================================================================
--- sys/kern/syscalls.master
+++ sys/kern/syscalls.master
@@ -118,8 +118,7 @@
15 AUE_CHMOD STD { int chmod(_In_z_ char *path, int mode); }
16 AUE_CHOWN STD { int chown(_In_z_ char *path, \
int uid, int gid); }
-17 AUE_NULL STD { int obreak(_In_ char *nsize); } break \
- obreak_args int
+17 AUE_NULL STD { int break(_In_ char *nsize); }
18 AUE_GETFSSTAT COMPAT4 { int getfsstat( \
_Out_writes_bytes_opt_(bufsize) \
struct ostatfs *buf, \
Index: sys/vm/vm_unix.c
===================================================================
--- sys/vm/vm_unix.c
+++ sys/vm/vm_unix.c
@@ -61,12 +61,12 @@
#include <vm/vm_map.h>
#ifndef _SYS_SYSPROTO_H_
-struct obreak_args {
+struct break_args {
char *nsize;
};
#endif
int
-sys_obreak(struct thread *td, struct obreak_args *uap)
+sys_break(struct thread *td, struct break_args *uap)
{
#if !defined(__aarch64__) && !defined(__riscv__)
struct vmspace *vm = td->td_proc->p_vmspace;
@@ -195,7 +195,7 @@
*/
if ((map->flags & MAP_WIREFUTURE) == MAP_WIREFUTURE) {
if (bootverbose)
- printf("obreak: MAP_WIREFUTURE set\n");
+ printf("%s: MAP_WIREFUTURE set\n", __func__);
do_map_wirefuture = TRUE;
}
} else if (new < old) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 4:14 AM (4 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31952745
Default Alt Text
D15638.id43221.diff (1 KB)
Attached To
Mode
D15638: Name the implementation of brk and sbrk sys_break().
Attached
Detach File
Event Timeline
Log In to Comment