Why getting warning: process `xsm_group_manag' used the deprecated sysctl system call ?

Solution Unverified - Updated -

Issue

  • We are getting following messages in /var/log/messages
Feb 17 16:11:25 reds kernel: warning: process `xsm_group_manag' used the deprecated sysctl system
call with 1.52.
  • If it is truly deprecated, what would be the new replacement call to obtain kernel setting for determining if core file is configured to have a PID extension? This call below is what caused the warning.
int oldval = 0;
size_t oldlenp = sizeof(int);

int name[] = { CTL_KERN, KERN_CORE_USES_PID };
struct __sysctl_args args;
memset(&args, 0, sizeof(struct __sysctl_args));
syscall(SYS__sysctl, &args);

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.