Advertisement
Guest User

Untitled

a guest
Sep 30th, 2020
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. --- a/cmds/servicemanager/service_manager.c
  2. +++ b/cmds/servicemanager/service_manager.c
  3. @@ -92,7 +92,8 @@ int svc_can_register(unsigned uid, uint16_t *name)
  4. {
  5. unsigned n;
  6.  
  7. - if ((uid == 0) || (uid == AID_SYSTEM) || (uid == 100000))
  8. + if ((uid == 0) || (uid == AID_SYSTEM) || (uid == 100000)
  9. + || uid == 105000 || (uid > 100000 && uid <= 100006))
  10. return 1;
  11.  
  12. for (n = 0; n < sizeof(allowed) / sizeof(allowed[0]); n++)
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement