Migrating from Sun Solaris to RHEL. But while compiling the C program getting the following errors.
struct msghdr msg;
msg.msg_accrights = (caddr_t)&fd_to_send;
msg.msg_accrightslen = sizeof(int);
error: 'struct msghdr' has no member named 'msg_accrights'
error: 'struct msghdr' has no member named 'msg_accrightslen'
The Linux setup is running kernel 2.6.18-419.el5.