Print this page
Code review comments from pmooney (sundry), and igork (screwups in zonecfg refactoring)
@@ -375,10 +375,20 @@
{ 60, 4, 0, 0 }, /* pr_fdflags */
{ 64, 1, 1024, 0 }, /* pr_path[] */
};
+static const sl_prsecflags_layout_t prsecflags_layout = {
+ { 0, 20, 0, 0 }, /* sizeof (prsecflags_t) */
+ { 0, 4, 0, 0 }, /* pr_version */
+ { 4, 4, 0, 0 }, /* pr_effective */
+ { 8, 4, 0, 0 }, /* pr_inherit */
+ { 12, 4, 0, 0 }, /* pr_lower */
+ { 16, 4, 0, 0 }, /* pr_upper */
+};
+
+
static const sl_arch_layout_t layout_sparcv9 = {
&auxv_layout,
&fltset_layout,
@@ -398,13 +408,12 @@
&stack_layout,
&sysset_layout,
×truc_layout,
&utsname_layout,
&prfdinfo_layout,
+ &prsecflags_layout,
};
-
-
-const sl_arch_layout_t *
+ const sl_arch_layout_t *
struct_layout_sparcv9(void)
{
return (&layout_sparcv9);
}