Re: [PATCH 2/3] c/r: Add UTS support (v6)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> +	uts = cr_obj_add_ptr(ctx, nsp->uts_ns, &hh->uts_ref, CR_OBJ_UTSNS, 0);

SH> I would prefer this be called 'uts_was_new' or something, though.

Fair enough.  I was trying to avoid wrapping that line :)

SH> Should probably memset them to 0 first.  I realize it doesn't
SH> really seem like security-relevant information leakage, but
SH> sys_hostname() does it, so it seems like we ought to as well.

Okay.

-- 
Dan Smith
IBM Linux Technology Center
email: danms@xxxxxxxxxx

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux