diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-06-01 19:10:09 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-06-01 19:10:09 +0200 |
commit | c3a2f5f3e5bcece4b38c753ad1d53962796327e1 (patch) | |
tree | ba6cd14383b45ea165ac2e33cb044fb59a12d9d3 | |
parent | 52244341d129d17f5dba7fc3ced60af9b014d44a (diff) | |
parent | 29bb544f8059ae8460cfcfb2563a7731f15d1cb1 (diff) |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd
-rw-r--r-- | libfshelp/start-translator-long.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c index 5bf14541..55fb0ff6 100644 --- a/libfshelp/start-translator-long.c +++ b/libfshelp/start-translator-long.c @@ -226,6 +226,14 @@ fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn, if (err) goto lose; + /* XXX 25 is BASEPRI_USER, which isn't exported by the kernel. Ideally, + nice values should be used, perhaps with a simple wrapper to convert + them to Mach priorities. */ + err = task_priority(task, 25, FALSE); + + if (err) + goto lose; + /* Designate TASK as our child and set it's owner accordingly. */ proc = getproc (); proc_child (proc, task); |