This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
qsort() and /proc/meminfo
- From: Ian Pilcher <arequipeno at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Sat, 6 May 2017 11:13:35 -0500
- Subject: qsort() and /proc/meminfo
- Authentication-results: sourceware.org; auth=none
I am writing an SELinux policy for a service written in Python, and I've
discovered that Python calls qsort(), which wants to read /proc/meminfo.
I'm not enthusiastic about the prospect of granting this access, since
it will mean allowing read access to almost all of /proc.
What are the potential pitfalls of preventing qsort() from reading
/proc/meminfo?
--
========================================================================
Ian Pilcher arequipeno@gmail.com
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================