Deep C: How about we make a struct to represent file permissions? Subdividing for flags Project 2 is posted It better be...as I write this, it's not! What if we actually wanted something from the user, like in project 2? We'll need write! Basically just a twin of read copy_to_user and copy_from_user They make sure the user's pointer is actually in userspace Why wouldn't it be? cat trap from a while ago Hijacking a system call as kernel module UI: Try to make it kinda make sense Nice if it can work with existing UI tools, but a utility is fine too Pick one with parameters that make some sort of sense Let's try ioctl! I've never done that, so it'll be a great demo