Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well yes, I meant it's the kernel's job. If the information is already in-process, then there's no access control at all and an app could just read it directly, rather than calling a private API.

I think we're talking at cross-purposes. My original question was why Apple don't restrict this restricted information. It appears we both agree that putting it behind an access control (like a syscall) would prevent this.



Right. It's confusing in a discussion about private API in general, because private API is pretty much by definition calls with no access control which are merely undocumented. Thus saying that Apple should be more clever about prohibiting private API calls is weird. But if it's just one particular call that needs better enforcement, yeah, they should do that. And it will involve promoting it beyond "private API."


> My original question was why Apple don't restrict this restricted information.

Because Apple wants to use this information, but they don't want anybody else to use this information.

If Apple requires security permission to get at the information, then they hose themselves as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: