Closed Bug 831912 Opened 11 years ago Closed 6 years ago

Preallocated app should have lowered priviledges

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dhylands, Unassigned)

References

Details

This is a followup to bug 786631.

Once that lands, the preallocated app will be running with root privledges until we know which app it will be, at which point the privledges will be lowered.

We should lower the privledges as soon as possible (perhaps even between the fork and exec) using seteuid/setegid.

Then, once we know what app the preallocated app will become we can raise priviledges back upto root (using seteuid(0)) and finally lock them in place using setuid/setgid (so no more elevation possible after that point).
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.