Browse Source

Allow for effective UID of binaries (#286)

tags/v1.9.13
parent
commit
294115922e
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      android/Shm.cpp
  2. +1
    -1
      common/JackTools.cpp
  3. +1
    -1
      common/shm.c

+ 1
- 1
android/Shm.cpp View File

@@ -283,7 +283,7 @@ namespace android {
} }


int Shm::GetUID() { int Shm::GetUID() {
return getuid();
return geteuid();
} }


int Shm::GetPID() { int Shm::GetPID() {


+ 1
- 1
common/JackTools.cpp View File

@@ -76,7 +76,7 @@ namespace Jack {
return _getpid(); return _getpid();
//#error "No getuid function available" //#error "No getuid function available"
#else #else
return getuid();
return geteuid();
#endif #endif
} }




+ 1
- 1
common/shm.c View File

@@ -65,7 +65,7 @@ static int GetUID()
return _getpid(); return _getpid();
//#error "No getuid function available" //#error "No getuid function available"
#else #else
return getuid();
return geteuid();
#endif #endif
} }




Loading…
Cancel
Save