https://bugs.kde.org/show_bug.cgi?id=495488

--- Comment #1 from Paul Floyd <pjfl...@wanadoo.fr> ---
If I compile and run the exe at the end of this page
https://reviews.freebsd.org/D46747?id=143605 then I get

cpu (0):        0
fsize (1):      -1
data (2):       4096
stack (3):      131072
core (4):       -1
rss (5):        2547712
memlock (6):    0
nproc (7):      6
nofile (8):     3
sbsize (9):     0
vmem (10):      14397440
npts (11):      0
swap (12):      17977
kqueues (13):   0
umtx (14):      0
pipebuf (15):   0

data and stack look like the most complicated ones

The kernel code is

        case RLIMIT_DATA:
                if (vm == NULL)
                        error = ENXIO;
                else
                        *res = vm->vm_dsize * PAGE_SIZE;
                break;
        case RLIMIT_STACK:
                if (vm == NULL)
                        error = ENXIO;
                else
                        *res = vm->vm_ssize * PAGE_SIZE;
                break;

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to