Several follow-up changes required by the changes either to the VFS
syscalls or to the syscall mechanism (which exposed naming and parameter inconsistencies). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8703 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
extern int handle_signals(struct thread *t, int state);
|
||||
|
||||
|
||||
extern int user_send_signal(pid_t tid, uint sig);
|
||||
extern int user_sigaction(int sig, const struct sigaction *act, struct sigaction *oact);
|
||||
extern bigtime_t user_set_alarm(bigtime_t time, uint32 mode);
|
||||
extern int _user_send_signal(pid_t tid, uint sig);
|
||||
extern int _user_sigaction(int sig, const struct sigaction *act, struct sigaction *oact);
|
||||
extern bigtime_t _user_set_alarm(bigtime_t time, uint32 mode);
|
||||
|
||||
#endif /* _KERNEL_SIGNAL_H */
|
||||
|
||||
@@ -19,28 +19,28 @@ int32 port_used_ports(void);
|
||||
void port_test(void);
|
||||
|
||||
// user-level API
|
||||
port_id user_create_port(int32 queue_length, const char *name);
|
||||
status_t user_close_port(port_id id);
|
||||
status_t user_delete_port(port_id id);
|
||||
port_id user_find_port(const char *port_name);
|
||||
status_t user_get_port_info(port_id id, struct port_info *info);
|
||||
status_t user_get_next_port_info(team_id team,
|
||||
port_id _user_create_port(int32 queue_length, const char *name);
|
||||
status_t _user_close_port(port_id id);
|
||||
status_t _user_delete_port(port_id id);
|
||||
port_id _user_find_port(const char *port_name);
|
||||
status_t _user_get_port_info(port_id id, struct port_info *info);
|
||||
status_t _user_get_next_port_info(team_id team,
|
||||
int32 *cookie,
|
||||
struct port_info *info);
|
||||
ssize_t user_port_buffer_size_etc(port_id port,
|
||||
ssize_t _user_port_buffer_size_etc(port_id port,
|
||||
uint32 flags,
|
||||
bigtime_t timeout);
|
||||
ssize_t user_port_count(port_id port);
|
||||
status_t user_read_port_etc(port_id port,
|
||||
ssize_t _user_port_count(port_id port);
|
||||
status_t _user_read_port_etc(port_id port,
|
||||
int32 *msg_code,
|
||||
void *msg_buffer,
|
||||
size_t buffer_size,
|
||||
uint32 flags,
|
||||
bigtime_t timeout);
|
||||
status_t user_set_port_owner(port_id port, team_id team);
|
||||
status_t user_write_port_etc(port_id port,
|
||||
status_t _user_set_port_owner(port_id port, team_id team);
|
||||
status_t _user_write_port_etc(port_id port,
|
||||
int32 msg_code,
|
||||
void *msg_buffer,
|
||||
const void *msg_buffer,
|
||||
size_t buffer_size,
|
||||
uint32 flags,
|
||||
bigtime_t timeout);
|
||||
|
||||
@@ -13,17 +13,17 @@ struct kernel_args;
|
||||
|
||||
|
||||
/* user calls */
|
||||
sem_id user_create_sem(int32 count, const char *name);
|
||||
status_t user_delete_sem(sem_id id);
|
||||
status_t user_delete_sem_etc(sem_id id, status_t return_code, bool interrupted);
|
||||
status_t user_acquire_sem(sem_id id);
|
||||
status_t user_acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout);
|
||||
status_t user_release_sem(sem_id id);
|
||||
status_t user_release_sem_etc(sem_id id, int32 count, uint32 flags);
|
||||
status_t user_get_sem_count(sem_id id, int32* thread_count);
|
||||
status_t user_get_sem_info(sem_id, struct sem_info *, size_t);
|
||||
status_t user_get_next_sem_info(team_id, int32 *, struct sem_info *, size_t);
|
||||
status_t user_set_sem_owner(sem_id id, team_id team);
|
||||
sem_id _user_create_sem(int32 count, const char *name);
|
||||
status_t _user_delete_sem(sem_id id);
|
||||
status_t _user_delete_sem_etc(sem_id id, status_t return_code, bool interrupted);
|
||||
status_t _user_acquire_sem(sem_id id);
|
||||
status_t _user_acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout);
|
||||
status_t _user_release_sem(sem_id id);
|
||||
status_t _user_release_sem_etc(sem_id id, int32 count, uint32 flags);
|
||||
status_t _user_get_sem_count(sem_id id, int32* thread_count);
|
||||
status_t _user_get_sem_info(sem_id, struct sem_info *, size_t);
|
||||
status_t _user_get_next_sem_info(team_id, int32 *, struct sem_info *, size_t);
|
||||
status_t _user_set_sem_owner(sem_id id, team_id team);
|
||||
|
||||
/* kernel calls */
|
||||
extern sem_id create_sem_etc(int32 count, const char *name, team_id owner);
|
||||
|
||||
@@ -108,7 +108,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef _KERNEL_MODE
|
||||
int user_sysctl(int *, uint, void *, size_t *, void *, size_t);
|
||||
int _user_sysctl(int *, uint, void *, size_t *, void *, size_t);
|
||||
#endif
|
||||
|
||||
int sysctl(int *, uint, void *, size_t *, void *, size_t);
|
||||
|
||||
@@ -38,8 +38,8 @@ status_t _user_get_team_info(team_id id, team_info *info);
|
||||
status_t _user_get_next_team_info(int32 *cookie, team_info *info);
|
||||
|
||||
// ToDo: please move the "env" setter/getter out of the kernel!
|
||||
int user_setenv(const char *name, const char *value, int overwrite);
|
||||
int user_getenv(const char *name, char **value);
|
||||
int _user_setenv(const char *name, const char *value, int overwrite);
|
||||
int _user_getenv(const char *name, char **value);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ int user_memset(void *s, char c, size_t count);
|
||||
area_id _user_create_area(const char *name, void **address, uint32 addressSpec,
|
||||
size_t size, uint32 lock, uint32 protection);
|
||||
status_t _user_delete_area(area_id area);
|
||||
region_id user_vm_map_file(char *uname, void **uaddress, int addr_type,
|
||||
region_id _user_vm_map_file(const char *uname, void **uaddress, int addr_type,
|
||||
addr size, int lock, int mapping, const char *upath, off_t offset);
|
||||
area_id _user_area_for(void *address);
|
||||
area_id _user_find_area(const char *name);
|
||||
|
||||
Reference in New Issue
Block a user