<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>On Sun, Jan 10, 2016, at 02:01 AM, Robert O'Callahan wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div><div><blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div> </div>
</blockquote></div>
</div>
<div>Thanks. Unfortunately prctl(PR_SET_DUMPABLE, 0) makes it impossible to PTRACE_ATTACH to such a process, which rr needs to run its tests. (rr is a debugger.). It also changes the owner of most files/dirs under /proc/<pid> to root, which breaks various other things rr needs.<br></div>
</div>
</blockquote><div> </div>
<div>I'm not aware of a way to do what you need now, but I think the right fix in the<br></div>
<div>kernel would be something like per-cgroup core patterns, combined with<br></div>
<div>the unified hierarchy so we can have unprivileged cgroup changes.<br></div>
<div> </div>
</body>
</html>