sandbox window size

Christoph A. casmls at gmail.com
Sat Jun 5 20:28:48 UTC 2010


I modified /usr/bin/sandbox and /usr/share/sandboxX.sh to add a new 
windowsize option (-w).

example:
sandbox -X -H p-home -t sandbox_net_t -w 400x600 pidgin

The parameter is not be validated and gets directly used as the -screen 
option when executing Xephyr. If -w is not specified it defaults to 
1000x700.

If someone finds it usefull diff's are attached.

kind regards,
Christoph

diff's are against:
policycoreutils-python-2.0.82-18.fc13.x86_64
policycoreutils-sandbox-2.0.82-18.fc13.x86_64
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sandbox.8.patch
Url: http://lists.fedoraproject.org/pipermail/selinux/attachments/20100605/f76a4b31/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sandboxX.sh.patch
Url: http://lists.fedoraproject.org/pipermail/selinux/attachments/20100605/f76a4b31/attachment-0001.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sandbox.patch
Url: http://lists.fedoraproject.org/pipermail/selinux/attachments/20100605/f76a4b31/attachment-0002.pl 


More information about the selinux mailing list