• M
    src: Treat PID as signed · b7d2d4af
    Michal Privoznik 提交于
    This initially started as a fix of some debug printing in
    virCgroupDetect. However it turned out that other places suffer
    from the similar problem. While dealing with pids, esp. in cases
    where we cannot use pid_t for ABI stability reasons, we often
    chose an unsigned integer type. This makes no sense as pid_t is
    signed.
    Also, new syntax-check rule is introduced so we won't repeat this
    mistake.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    b7d2d4af
lxc_driver.c 165.9 KB