Open
Description
Hello,
We are having some issues in our deployments with shmctl command. I would like to add the following errno switch in
Line 72 in 02b608a
e.g.
int sysv_shm_get_size(int shm_id) {
struct shmid_ds shm;
if(shmctl(shm_id, IPC_STAT, &shm) >= 0) {
return shm.shm_segsz;
}else{
switch(errno)
{
case EACCES:
return -1;
case EFAULT:
return -2;
case EIDRM:
return -3;
case EINVAL :
return -4;
case ENOMEM :
return -5;
case EOVERFLOW:
return -6;
case EPERM:
return -7;
default:
return 0;
}
}
}
Would you accept this as pull request and if you do, could you please let me know how I can push in a remote branch on your repo. I tried to create a pull request, but I am getting an access denied error.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels