[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Make start_code and end_code available in /proc/*/stat
From: |
Justus Winter |
Subject: |
Re: [PATCH] Make start_code and end_code available in /proc/*/stat |
Date: |
Thu, 29 Aug 2013 12:05:30 +0200 |
User-agent: |
alot/0.3.4 |
Quoting Samuel Thibault (2013-08-29 00:24:59)
> Justus Winter, le Mon 05 Aug 2013 12:11:30 +0200, a écrit :
> > + if (essential)
> > + start_code = end_code = 0; /* To make killall5.c consider it a
> > + kernel process that is to be
> > + left alone. */
> > + else
> > + proc_get_code (p, &start_code, &end_code);
>
> Mmm, I'm not sure whether we really want to introduce
> proc_set_code/proc_get_code just for killall5. We could just put
> 0x08000000 / 0x09000000 values for non-essential processes. What do you
> think?
To be honest, I spent most of the time on that part, thinking that the
chances of getting this merged without discussion would improve if I
just implement this instead of providing wrong values to appease
killall5. Also, providing the correct values aligns our procfs more
closely with the Linux one, and that is one of the points of our
procfs, isn't it?
Justus
- [PATCH 09/16] libnetfs: register libnetfs-based translators as important, (continued)
- [PATCH 09/16] libnetfs: register libnetfs-based translators as important, Justus Winter, 2013/08/05
- [PATCH 10/16] libtrivfs: register libtrivfs-based translators as important, Justus Winter, 2013/08/05
- [PATCH 11/16] mach-defpager: register mach-defpager translators as important, Justus Winter, 2013/08/05
- [PATCH 12/16] trans: register symlink translators as important, Justus Winter, 2013/08/05
- [PATCH 13/16] proc: keep track of {start,end}_code, Justus Winter, 2013/08/05
- [PATCH 14/16] hurd: add proc_{get,set}_code, Justus Winter, 2013/08/05
- [PATCH 15/16] exec: keep track of the range where executable segments are mapped, Justus Winter, 2013/08/05
- [PATCH 16/16] Build fixes: Build processUser.o and link against it, Justus Winter, 2013/08/05
- [PATCH] Make start_code and end_code available in /proc/*/stat, Justus Winter, 2013/08/05
Make sysvinit pid 1, fix killall5 (2), Justus Winter, 2013/08/15
- [PATCH 01/17] hurd: add missing routines in process_reply.defs, Justus Winter, 2013/08/15
- [PATCH 02/17] Define and use symbolic names for important processes, Justus Winter, 2013/08/15
- [PATCH 04/17] daemons: fix setsid(2) in console-run, Justus Winter, 2013/08/15
- [PATCH 05/17] proc: make the function check_owner available, Justus Winter, 2013/08/15
- [PATCH 03/17] Add proc_set_init_task, make runsystem pid 1, Justus Winter, 2013/08/15