Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175371601
D15539.id42937.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
704 B
Referenced Files
None
Subscribers
None
D15539.id42937.diff
View Options
Index: head/sys/vm/vm_unix.c
===================================================================
--- head/sys/vm/vm_unix.c
+++ head/sys/vm/vm_unix.c
@@ -65,14 +65,10 @@
char *nsize;
};
#endif
-
-/*
- * MPSAFE
- */
-/* ARGSUSED */
int
sys_obreak(struct thread *td, struct obreak_args *uap)
{
+#if !defined(__aarch64__) && !defined(__riscv__)
struct vmspace *vm = td->td_proc->p_vmspace;
vm_map_t map = &vm->vm_map;
vm_offset_t new, old, base;
@@ -230,6 +226,9 @@
VM_MAP_WIRE_USER|VM_MAP_WIRE_NOHOLES);
return (error);
+#else /* defined(__aarch64__) || defined(__riscv__) */
+ return (ENOSYS);
+#endif /* defined(__aarch64__) || defined(__riscv__) */
}
#ifndef _SYS_SYSPROTO_H_
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 11, 9:02 AM (5 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40579469
Default Alt Text
D15539.id42937.diff (704 B)
Attached To
Mode
D15539: Don't implement break(2) at all on aarch64 and riscv.
Attached
Detach File
Event Timeline
Log In to Comment