vfs: check userland buffers before reading them.
[haiku.git] / src / servers / registrar / R5Compatibility.cpp
blobe86d51c6027c2a79af16d9ef577cf5835910730b
1 /*
2 * Copyright 2005, Ingo Weinhold, bonefish@users.sf.net. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
6 //! Syscalls not existing under R5
8 #include <syscalls.h>
9 #include <stdio.h>
12 // _kern_register_messaging_service
13 extern "C" area_id
14 _kern_register_messaging_service(sem_id lockSem, sem_id counterSem)
16 return B_ERROR;
19 // _kern_unregister_messaging_service
20 extern "C" status_t
21 _kern_unregister_messaging_service()
23 return B_ERROR;
26 extern "C" status_t
27 _kern_shutdown(bool reboot)
29 puts(reboot ? "reboot" : "shutdown");
30 return B_ERROR;