Builtin pullup/pulldown resistors on the GPIO pins?

What’s the current state of the builtin pullup/pulldown resistors on the GPIO pins? I see you can set them via BoneScript, but I don’t see any documentation on setting them at the CLI/kernel level. How do I enable them?

What board is this?

What kernel?

BeagleBone Black running kernel 3.8.12.