Saltar al contenido ForoHackers

macOS: start here

macOS
#3371 · · Citar · Denunciar

macOS is Apple's desktop operating system: a Unix system with a graphical environment, its own frameworks and a strict security model. It matters to developers because it is both a polished workstation and the platform for building software for Apple's devices, and because its Unix core lets the usual command-line tools work.

Key concepts

  • Unix underneath: a BSD-derived userland and a hybrid kernel, so the shell, SSH and common tools work.
  • Frameworks and bundles: applications are folders with a defined layout, and they use system frameworks for interface, graphics and storage.
  • Sandboxing and permissions: apps ask for access to files, camera or location, and the system mediates it.
  • Code signing: software carries a signature, and the system checks it before running.
  • Launch services: background jobs are described in property lists and started by the system's launcher.

Vocabulary

  • Bundle: a folder that behaves as one application or library.
  • Plist: a property list, the structured settings file format used across the system.
  • Notarization: a check of signed software by the platform owner before distribution.
  • Universal binary: one executable that contains code for more than one processor architecture.

What to study, in order

  1. Use the terminal on a Mac and compare its tools with the Linux ones you know.
  2. Open an application bundle and read its structure and property list.
  3. Manage software with a package manager and learn where each thing is installed.
  4. Write a launch job that runs a script on a schedule.
  5. Build and sign a small command-line program with the platform's compiler.

Related tags

#ios #bsd #shell #kernels #secure-coding

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder