First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 129534
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alar Kvell <alar@planc.ee>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 129534 depends on: Show dependency tree
Bug 129534 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-10 15:09 0000
I emerged allegro with all graphical stuff disabled:
[ebuild   R   ] media-libs/allegro-4.2.0-r1  -X -alsa -arts -doc -esd -fbcon
+mmx -oss +sse -static -svga -tetex

I have hardened-sources (2.4.32-hardened-r1), with Grsecurity, configured with
"Disable privileged I/O" option:
CONFIG_GRKERNSEC_IO=y

Using allegro_init() in my program produces the following message in my system
logs:
Apr 10 22:38:46 server grsec: From 217.159.165.139: denied use of iopl() by
/home/alar/testapp[testapp:16731] uid/euid:1000/1000 gid/egid:100/100, parent
/bin/bash[bash:21687] uid/euid:1000/1000 gid/egid:100/100

This happens because allegro is always compiled with --enable-vga (even when
all graphical USE flags are disabled) and allegro's VGA portion uses iopl() for
some reason (in linux/lsystem.c and unix/uptimer.c files). Recompiling allegro
with --disable-vga solves this issue - no more warnings about iopl() calls.

So, why is allegro always compiled with --enable-vga, even when I don't want
any graphical stuff in allegro and disable all such USE flags?

------- Comment #1 From Tristan Heaven 2007-02-02 20:26:58 0000 -------
Fixed in 4.2.1

First Last Prev Next    No search results available      Search page      Enter new bug