/* The cookies are exposed only to local user space via loopback. They do not appear on the physical network. If we want greater security for some reason, nsm_init_private() could perform a one-way hash to obscure the contents of the cookie.  */
static void nsm_init_private(struct nsm_handle *nsm)
/* The cookies are exposed only to local user space via loopback. They do not appear on the physical network. If we want greater security for some reason, nsm_init_private() could perform a one-way hash to obscure the contents of the cookie.  */
static void nsm_init_private(struct nsm_handle *nsm)
{
	u64 *p = (u64 *)&nsm->sm_priv.data;
	struct timespec ts;
	s64 ns;
	ktime_get_ts(&ts);
	ns = timespec_to_ns(&ts);
	put_unaligned(ns, p);
	put_unaligned((unsigned long)nsm, p + 1);
}