Recently in commit 3c4e0dff2095 ("vt: Disable KD_FONT_OP_COPY") we disabled the KD_FONT_OP_COPY ioctl() option. Delete all the con_font_copy() callbacks, since we no longer use them. Mark KD_FONT_OP_COPY as "obsolete" in include/uapi/linux/kd.h, just like what we have done for PPPIOCDETACH in commit af8d3c7c001a ("ppp: remove the PPPIOCDETACH ioctl").
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -173,7 +173,7 @@ struct console_font { · 172 unmodified lines | |||
| 173 | #define KD_FONT_OP_SET 0 /* Set font */ | 173 | #define KD_FONT_OP_SET 0 /* Set font */ |
| 174 | #define KD_FONT_OP_GET 1 /* Get font */ | 174 | #define KD_FONT_OP_GET 1 /* Get font */ |
| 175 | #define KD_FONT_OP_SET_DEFAULT 2 /* Set font to default, data points to name / NULL */ | 175 | #define KD_FONT_OP_SET_DEFAULT 2 /* Set font to default, data points to name / NULL */ |
| 176 | #define KD_FONT_OP_COPY 3 /* Copy from another console */ | 176 | #define KD_FONT_OP_COPY 3 /* Obsolete, do not use */ |
| 177 | 177 | ||
| 178 | #define KD_FONT_FLAG_DONT_RECALC 1 /* Don't recalculate hw charcell size [compat] */ | 178 | #define KD_FONT_FLAG_DONT_RECALC 1 /* Don't recalculate hw charcell size [compat] */ |
| 179 | 179 | ||