Messages in this thread | | | Subject | Re: cd burning, capabilities and available modes | From | Lee Revell <> | Date | Wed, 01 Dec 2004 12:05:38 -0500 |
| |
On Wed, 2004-12-01 at 13:40 +0000, J.A. Magallon wrote: > As user: > werewolf:/store/tmp> cdrecord -dummy dev=ATAPI:1,0,0 *.iso > ... > cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2). > cdrecord: WARNING: This causes a high risk for buffer underruns. > cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler > cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). > cdrecord: WARNING: This causes a high risk for buffer underruns.
You can use the realtime LSM (see list archives) to let specific groups of users use mlockall and run RT tasks. Just load it like:
modprobe realtime gid=29
and make gid 29 your "cdrecord" group.
This should make CD burning as joeuser reliable as root. Most people use this for low latency audio but I think cd burning is a wider and completely unexplored application.
Lee
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |