{"push_id":904559583,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"294aa7d14c3bf17f4e0ac10a703aa190b34bd4b6","before":"e51455c2c80cf86d81b9b87b6aa47ddff378b338","commits":[{"sha":"6f614a59304bedb3d144502932ac04395d1e850d","author":{"email":"2915cecf561ef5fa15d795f1e5f7603b18132cb4@cl.cam.ac.uk","name":"Robert N. M. Watson"},"message":"Implement a CHERI_CTOINT() macro modeled on a possible CToInt instruction.\nThis is required to help the kernel handle userspace intptr_t's coming from\nCheriABI processes, which might embed integers in untagged capabilities\nthat CHERI_CTOPTR() (and CToPtr) are unable to help us with.","distinct":true,"url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/commits/6f614a59304bedb3d144502932ac04395d1e850d"},{"sha":"294aa7d14c3bf17f4e0ac10a703aa190b34bd4b6","author":{"email":"2915cecf561ef5fa15d795f1e5f7603b18132cb4@cl.cam.ac.uk","name":"Robert N. M. Watson"},"message":"In cheriabi_fetch_syscall_args(), when converting userspace capability\narguments to kernel pointers, check the tag and use CHERI_CTOINT() if\nthe capability is untagged.  This fixes handling of intptr_t system-call\narguments that could contain either integers or pointers.\n\nWith this change, fcntl(..., F_DUPFD_CLOEXEC, ...) now seems to work,\nallowing /sbin/ping to get just a little bit further.  This relates to\nissue #83 relating to ping failing in CheriABI.","distinct":true,"url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/commits/294aa7d14c3bf17f4e0ac10a703aa190b34bd4b6"}]}