* trying to determine the string length, so we're trusting our
* caller... */
- if (!cfs_capable(CFS_CAP_SYS_ADMIN))
- return (-EPERM);
+ if (!cfs_capable(CAP_SYS_ADMIN))
+ return (-EPERM);
if (user_size > 0 &&
maxsize > user_size)
int i;
int j;
- if (!cfs_capable(CFS_CAP_SYS_ADMIN))
- return (-EPERM);
+ if (!cfs_capable(CAP_SYS_ADMIN))
+ return (-EPERM);
if (!enable) {
LWT_EVENT(0,0,0,0);
int i;
int j;
- if (!cfs_capable(CFS_CAP_SYS_ADMIN))
+ if (!cfs_capable(CAP_SYS_ADMIN))
return (-EPERM);
*ncpu = num_online_cpus();