Issue #1390 has been updated by tuxillo.

Status changed from Feedback to In Progress

Hi,

As far as I could check NetBSD and OpenBSD use id_t for 'who' in their args 
struct. See here:

http://grok.qc.to/source/xref/netbsd/sys/sys/syscallargs.h#617
http://grok.qc.to/source/xref/openbsd/sys/sys/syscallargs.h#480

I'll change it to id_t for us too in master after the release.

Cheers,
Antonio Huete

----------------------------------------
Bug #1390: Use id_t type for {get,set}priority()
http://bugs.dragonflybsd.org/issues/1390#change-12001

* Author: Beket
* Status: In Progress
* Priority: Normal
* Assignee: tuxillo
* Category: Other
* Target version: 3.8.0
----------------------------------------
Salute!

Both get- and set-priority() functions take a `who' argument that may refer to 
process ID, group ID or a user ID depending on the situation. The id_t type,
which is already available in our src tree, guarantees that it's large enough to
hold pid, gid, etc.

The attached patch replaces `int' with `id_t' wherever appropriate. I have done
a build{world,kernel} and install{world,kernel} and I don't broke anything. Plus
some test cases I have, continue to pass.

If anyone objects to this patch speak now or forever hold your peace!

Cheers,
Stathis



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account

Reply via email to