Righto, yes. So does that imply that the alignment provided by crget()
{ which uses malloc() } is sufficient for td->td_ucred or is td->td_ucred
a special case?
rick
ps: The above hack, which came up in a separate discussion yesterday,
isn't gonna be easy to get rid of, imho. A whole bunch of network
related functions use td->td_ucred and the only fix I can see would
be to add "*cred" arguments to them all, so that the krpc/nlm/nfs
code could pass the correct *cred in. (It is set to the one used at
mount time for network reconnects, etc.)
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"