Oval head machine screw, given how well the head fits in the countersink in the outer tube I'd say definitely factory installed, not a backyard patch job. Very likely a "budget" seat post, I doubt it would ever fail but I'd probably replace it just because it would bug me.
__________________
".....distasteful and easily triggered."