A setuid root program is unable to access /proc/self/fd after it lowers its privileges to a normal user

Solution Verified - Updated -

Issue

  • A setuid root program is unable to access /proc/self/fd after it lowers its privileges to a normal user
  • An open or stat system call on any file descriptor in it results in an EACCES (Permission denied)

Environment

  • Red Hat Enterprise Linux 5
  • kernel version smaller than kernel-2.6.18-238.el5

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.