summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_resource.c')
-rw-r--r--sys/kern/kern_resource.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index 78a25eb..e6e8021 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -89,7 +89,7 @@ struct getpriority_args {
};
#endif
int
-getpriority(td, uap)
+sys_getpriority(td, uap)
struct thread *td;
register struct getpriority_args *uap;
{
@@ -174,7 +174,7 @@ struct setpriority_args {
};
#endif
int
-setpriority(td, uap)
+sys_setpriority(td, uap)
struct thread *td;
struct setpriority_args *uap;
{
@@ -284,7 +284,7 @@ struct rtprio_thread_args {
};
#endif
int
-rtprio_thread(struct thread *td, struct rtprio_thread_args *uap)
+sys_rtprio_thread(struct thread *td, struct rtprio_thread_args *uap)
{
struct proc *p;
struct rtprio rtp;
@@ -358,7 +358,7 @@ struct rtprio_args {
};
#endif
int
-rtprio(td, uap)
+sys_rtprio(td, uap)
struct thread *td; /* curthread */
register struct rtprio_args *uap;
{
@@ -592,7 +592,7 @@ struct __setrlimit_args {
};
#endif
int
-setrlimit(td, uap)
+sys_setrlimit(td, uap)
struct thread *td;
register struct __setrlimit_args *uap;
{
@@ -632,7 +632,7 @@ lim_cb(void *arg)
} else {
if (p->p_cpulimit < rlim.rlim_max)
p->p_cpulimit += 5;
- psignal(p, SIGXCPU);
+ kern_psignal(p, SIGXCPU);
}
}
if ((p->p_flag & P_WEXIT) == 0)
@@ -771,7 +771,7 @@ struct __getrlimit_args {
#endif
/* ARGSUSED */
int
-getrlimit(td, uap)
+sys_getrlimit(td, uap)
struct thread *td;
register struct __getrlimit_args *uap;
{
@@ -950,7 +950,7 @@ struct getrusage_args {
};
#endif
int
-getrusage(td, uap)
+sys_getrusage(td, uap)
register struct thread *td;
register struct getrusage_args *uap;
{
OpenPOWER on IntegriCloud