Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2796

Invoke setuid(0) failed with errno "Operation not permitted"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • None
    • None

      I am working on an app needs to access /dev/input/event1.
      As every app runs under user agl-driver from 8.0, i used setuid(0) just try to get root privilege in order to open the device above, but it failed then got the errno "Operation not permitted".
      So i'm wondering how to get deal with it under a non root user.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jobol-iot jose bollo
            wanglu Wang Lu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: