Green’s Dictionary of Slang

yuk n.1

[ety. unknown]

(US prison) a friend.

[US]G. Milburn ‘Convicts’ Jargon’ in AS VI:6 442: yuk, n. ‘The same as buddy, or pal, is used on the outside.’.