User Details
- User Since
- May 16 2014, 7:35 PM (618 w, 6 d)
Today
Add test from PR 294054
Yesterday
Update the commit message with the list of vars allowed in the commit.
Provide the whole list of changeable vars in rtld_get_var(3).
Does the extern declaration for __elfN(fallback_brand) in sys/sys/imgact_elf.h is needed after the patch? Could the __elfN(fallback_brand) var made static in kern_elf.c?
Unrelated note: it seems that pipe fds leak to both pd13 and pd23 processes. This is perhaps not too important but just not accurate. And since we care about 'security' by entering cap mode, ability of the children to affect input of siblings or parent might be considered undesirable.
Note that dangerous_ld_env is never reset back to false.
More uses for rtld_recalc_bind_not().
Handle recalculations second-order effects.
Do call on_update()
I mean something like this (ignore naming), in the generic ioctl handler, not in the driver code;
case SIOCGI2C_OLD:
i2c.page = i2c.bank = 0;
ioctl(SIOCG2C, &i2c);
break;I.e. drivers only need to implement the new ioctl that knows about bank/page.
Tue, Mar 24
Mon, Mar 23
No. Perhaps it is simpler to show code than to try to explain it, See D56053.
Move fred check into setidt().
Do we need to handle the rest of the fenv functions same, they all are extern inline. Then we can remove the requirement to have gcc semantic for inline as a bonus.
Sun, Mar 22
I am on edge of proposing to count the number of the list members, and still do the walk_cb_nocall if the number of members does not go to zero after e.g. CXA_DTORS_ITERATIONS times initial list length for dtor removals.
Handle all arches
Move the proto to apicvar.h.
Sat, Mar 21
It is C function, it can be called from C. What is the problem?
Not needed for the latest code.
Fri, Mar 20
This should be functionally complete with the one minor missed XEN ipi handler code.
Missed check.
Centralize and fix checks.
Thu, Mar 19
You only write a single value into the specified offset, right?
This should be clearly explained in the man page addition.
Or consider adding a possibility of writing the series of values starting at the given offset, of the specified width for each value (IMO it is fine as is, but needs to be properly documented).
I only handled x86 for start. After everybody is fine with the patch, I will add other arches.
Why not simply not allocate the new number for the new ioctl. Rename current ioctl to something like SIOCGI2C_NOBANK. Then, at the ioctl level, do two things:
- for new SIOCGI2C check that reserved bytes in the structure are zero
- for SIOCGI2C_NOBANK, zero bank/page/padding and call into SIOCGI2C
Functionally complete patch
Wed, Mar 18
Continue the WIP.
Handle NMIs and #MC.
Misc bug fixes.
Tue, Mar 17
For now, I suggest to #ifdef 0 the ADD_TEST(), then revert it when the updated test is written.
No, I mean to keep this test, adjusted.
Create a global static var that is incremented on each again() call, and do not call __cxa_thread_atexit() if the counter greater than some value.
As an additional check, you might assert that the counter indeed counted to the specified value.
Mon, Mar 16
Did you tried enabling DMAR/AMD IOMMU and interrupt remapping on this machine?
Sun, Mar 15
Sat, Mar 14
Fix typo in the name of the reserved field.
Remove cs masking.
