Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 169196 Details for
Bug 139715
samsungmfp - drivers for Samsung MFP USB printers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
C source to bump I/O privelege level for running scan app with Samsung driver
iopl.c (text/plain), 352 bytes, created by
Ole Christensen
on 2008-10-20 16:32:21 UTC
(
hide
)
Description:
C source to bump I/O privelege level for running scan app with Samsung driver
Filename:
MIME Type:
Creator:
Ole Christensen
Created:
2008-10-20 16:32:21 UTC
Size:
352 bytes
patch
obsolete
>#include <stdio.h> >#include <stdlib.h> >#include <unistd.h> >#include <sys/io.h> > > >int >main (int argc, char *argv []) >{ > if (argc < 3) > { > fputs ("Usage: iopl level command\n", stderr); > exit (1); > } > > if (iopl (atoi (argv [1])) < 0) > { > perror ("iopl"); > exit (1); > } > > setuid (getuid ()); > > exit (system (argv [2])); > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 139715
:
91245
|
91246
|
107915
|
107917
|
127126
|
127194
| 169196 |
227965
|
268259
|
268261
|
269987
|
280629
|
287077
|
291215
|
291559
|
320096
|
327348
|
356630
|
356636
|
361230
|
361232
|
374758
|
374760
|
379388