GETSYSID
if (GETSYSID(shr->s_sysid) != 0 && shr->s_pid == 0) {
} else if (GETSYSID(shr->s_sysid) == 0 && shr->s_pid == 0) {
} else if (GETSYSID(shr->s_sysid) == 0 && shr->s_pid != 0) {
if (GETSYSID(sysid1) != 0) {
} else if (GETSYSID(sysid1) == 0) {
if ((shr->s_access == 0) && (GETSYSID(shr->s_sysid) == 0)) {
#define IS_LOCAL(lock) (GETSYSID((lock)->l_flock.l_sysid) == 0)